ghostscript: fix PIE

This commit is contained in:
Alessio Sergi 2016-06-26 04:16:46 +02:00
parent caacf6d3eb
commit 48fa3462fd
1 changed files with 7 additions and 3 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'ghostscript'
pkgname=ghostscript
version=9.18
revision=2
revision=3
short_desc="An interpreter for the PostScript language"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.ghostscript.com/"
license="AGPL-3, CPL-1.0"
distfiles="http://downloads.ghostscript.com/public/$pkgname-$version.tar.bz2"
checksum=83daf5bbbb5afbc32cab944a1afa7ceca046dbf0c3712cd5f2bd21a13e484da1
distfiles="http://downloads.ghostscript.com/public/old-gs-releases/ghostscript-${version}.tar.gz"
checksum=5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b
hostmakedepends="automake libtool pkg-config"
makedepends="
@ -19,6 +19,10 @@ depends="gsfonts"
pre_configure() {
# force it to use system libs.
rm -rf jpeg{,xr} libpng jasper expat tiff lcms{,2} freetype cups/libs jbig2dec
# add missing LDFLAGS
sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
cd ijs
autoreconf -fi
}