aboutsummaryrefslogtreecommitdiffstats
path: root/main/ghostscript/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-14 08:18:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-14 08:18:11 +0000
commit83243e0df7783ac6c6a43488abac52db5d8f4371 (patch)
treeb8df92b78294656b90c9d9ad86068d36d525e4b5 /main/ghostscript/APKBUILD
parentda1ced4648f5986aa52112de40cd137648bda4a9 (diff)
downloadaports-83243e0df7783ac6c6a43488abac52db5d8f4371.tar.bz2
aports-83243e0df7783ac6c6a43488abac52db5d8f4371.tar.xz
main/ghostscript fix parallel builds
Diffstat (limited to 'main/ghostscript/APKBUILD')
-rw-r--r--main/ghostscript/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD
index ad414e5832..adc8756ad6 100644
--- a/main/ghostscript/APKBUILD
+++ b/main/ghostscript/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Cameron Banta <cbanta@gmail.com>
pkgname=ghostscript
pkgver=8.71
-pkgrel=0
+pkgrel=1
pkgdesc="An interpreter for the PostScript language and for PDF"
url="http://ghostscript.com/"
license="GPL"
@@ -22,6 +22,11 @@ prepare() {
# fix build with systems jasper
patch -Np1 -i "${srcdir}"/ghostscript-system-jasper.patch || return 1
+
+ # fix parallel builds
+ sed -i -e 's/ECHO_XE/ECHOGS_XE/g' \
+ -e 's/^\($(GLOBJ)md5.$(OBJ) :.*\)/\1 $(ECHOGS_XE)/' \
+ base/lib.mak || return 1
./autogen.sh \
--prefix=/usr \
@@ -42,7 +47,7 @@ prepare() {
build(){
cd "$srcdir/$pkgname-$pkgver"
- make || return 1
+ make so all || return 1
}
package() {