From e803090f9eb21615394c2e47ba90a9ef203a8f1b Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sun, 3 Feb 2013 21:32:12 +0100 Subject: ghostscript-libre: fix build, rebuild for mips64el's mips3. --- libre/ghostscript-libre/PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'libre/ghostscript-libre/PKGBUILD') 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 } -- cgit v1.2.3