diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-03 21:32:12 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-02-03 21:32:12 +0100 |
commit | e803090f9eb21615394c2e47ba90a9ef203a8f1b (patch) | |
tree | bdf6c93be6d8a56fbbd3a4f9ea8646348dd4a200 | |
parent | 520b3a3450b6b240b01357460a7fbf19337105cb (diff) | |
download | abslibre-e803090f9eb21615394c2e47ba90a9ef203a8f1b.tar.gz abslibre-e803090f9eb21615394c2e47ba90a9ef203a8f1b.tar.bz2 abslibre-e803090f9eb21615394c2e47ba90a9ef203a8f1b.zip |
ghostscript-libre: fix build, rebuild for mips64el's mips3.
-rw-r--r-- | libre/ghostscript-libre/PKGBUILD | 17 | ||||
-rw-r--r-- | libre/ghostscript-libre/ijs-automake.patch | 10 |
2 files changed, 21 insertions, 6 deletions
diff --git a/libre/ghostscript-libre/PKGBUILD b/libre/ghostscript-libre/PKGBUILD index 656f49fb5..499f4bab0 100644 --- a/libre/ghostscript-libre/PKGBUILD +++ b/libre/ghostscript-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgname=ghostscript pkgname=ghostscript-libre pkgver=9.06 -pkgrel=1 +pkgrel=1.1 # rebuild for mips64el -march pkgdesc="An interpreter for the PostScript language without non-free files" arch=('i686' 'x86_64' 'mips64el') license=('GPL3') #non free files removed @@ -18,12 +18,17 @@ conflicts=('ghostscript') replaces=('ghostscript') provides=("ghostscript=$pkgver") url="http://www.ghostscript.com/" -source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2) -options=('!libtool' '!makeflags') -md5sums=('46f9ebe40dc52755287b30704270db11') +source=(http://downloads.ghostscript.com/public/ghostscript-${pkgver}.tar.bz2 + ijs-automake.patch) +options=('!libtool') +md5sums=('46f9ebe40dc52755287b30704270db11' + '686830841eb9004143a0d0f56b73aaaf') build() { cd ${srcdir}/ghostscript-${pkgver} + + # Fix build with recent automake. + patch -p1 -i "$srcdir/ijs-automake.patch" # delete non-free packages grep -l "are not altered" Resource/CMap/* | xargs rm -fv @@ -57,7 +62,7 @@ build() { package() { cd ${srcdir}/ghostscript-${pkgver} - make DESTDIR=${pkgdir} \ + make -j1 DESTDIR=${pkgdir} \ cups_serverroot=${pkgdir}/etc/cups \ cups_serverbin=${pkgdir}/usr/lib/cups install soinstall @@ -72,5 +77,5 @@ package() { # install IJS cd ${srcdir}/ghostscript-${pkgver}/ijs - make DESTDIR=${pkgdir} install + make -j1 DESTDIR=${pkgdir} install } diff --git a/libre/ghostscript-libre/ijs-automake.patch b/libre/ghostscript-libre/ijs-automake.patch new file mode 100644 index 000000000..1b890277a --- /dev/null +++ b/libre/ghostscript-libre/ijs-automake.patch @@ -0,0 +1,10 @@ +--- ghostscript-9.06.orig/ijs/configure.ac 2012-08-08 10:01:36.000000000 +0200 ++++ ghostscript-9.06/ijs/configure.ac 2013-02-03 19:33:08.361797799 +0100 +@@ -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 |