From dcf2cea62dd18133b8edc07e17ad41ef2dcd0cdb Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 4 Feb 2013 13:37:41 -0200 Subject: gnu-ghostscript-9.06.0-1: fix build, rebuild for mips64el's mips3 --- libre/gnu-ghostscript/PKGBUILD | 11 ++++++++--- libre/gnu-ghostscript/ijs-automake.patch | 10 ++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 libre/gnu-ghostscript/ijs-automake.patch diff --git a/libre/gnu-ghostscript/PKGBUILD b/libre/gnu-ghostscript/PKGBUILD index 19e0e4407..dc05d95ad 100644 --- a/libre/gnu-ghostscript/PKGBUILD +++ b/libre/gnu-ghostscript/PKGBUILD @@ -16,14 +16,19 @@ conflicts=${_pkgname} provides="${_pkgname}=9.06" url="https://www.gnu.org/software/${_pkgname}/" source=(ftp://ftp.gnu.org/gnu/${_pkgname}/${pkgname}-${pkgver}.tar.xz + ijs-automake.patch libtool.patch) -options=('!libtool' '!makeflags') +options=('!libtool') md5sums=('85a5e07a6b91937c157576293b381065' + '83bcae456ad4c9fb790be483914dbeba' '5bd5d4966007b460deed866a30a0b3c8') build() { cd ${srcdir}/${pkgname}-${pkgver} + # fix build with recent automake + patch -p1 -i "$srcdir/ijs-automake.patch" + # fix libtool version patch -Np1 -i ${srcdir}/libtool.patch @@ -55,7 +60,7 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} \ + make -j1 DESTDIR=${pkgdir} \ cups_serverroot=${pkgdir}/etc/cups \ cups_serverbin=${pkgdir}/usr/lib/cups install soinstall @@ -70,5 +75,5 @@ package() { # install IJS cd ${srcdir}/${pkgname}-${pkgver}/ijs - make DESTDIR=${pkgdir} install + make -j1 DESTDIR=${pkgdir} install } diff --git a/libre/gnu-ghostscript/ijs-automake.patch b/libre/gnu-ghostscript/ijs-automake.patch new file mode 100644 index 000000000..7b5f77ca1 --- /dev/null +++ b/libre/gnu-ghostscript/ijs-automake.patch @@ -0,0 +1,10 @@ +--- gnu-ghostscript-9.06.0.orig/ijs/configure.ac 2012-12-26 23:11:50.000000000 -0200 ++++ gnu-ghostscript-9.06.0/ijs/configure.ac 2013-02-04 13:28:10.656069912 -0200 +@@ -117,7 +117,6 @@ + dnl Checks for programs + + AC_PROG_CC +-AM_PROG_CC_STDC + AM_PROG_LIBTOOL + AC_SUBST(LIBTOOL_DEPS) + AC_ISC_POSIX -- cgit v1.2.3-54-g00ecf