mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
ghostscript: fix PIE
This commit is contained in:
parent
caacf6d3eb
commit
48fa3462fd
1 changed files with 7 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'ghostscript'
|
# Template file for 'ghostscript'
|
||||||
pkgname=ghostscript
|
pkgname=ghostscript
|
||||||
version=9.18
|
version=9.18
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="An interpreter for the PostScript language"
|
short_desc="An interpreter for the PostScript language"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.ghostscript.com/"
|
homepage="http://www.ghostscript.com/"
|
||||||
license="AGPL-3, CPL-1.0"
|
license="AGPL-3, CPL-1.0"
|
||||||
distfiles="http://downloads.ghostscript.com/public/$pkgname-$version.tar.bz2"
|
distfiles="http://downloads.ghostscript.com/public/old-gs-releases/ghostscript-${version}.tar.gz"
|
||||||
checksum=83daf5bbbb5afbc32cab944a1afa7ceca046dbf0c3712cd5f2bd21a13e484da1
|
checksum=5fc93079749a250be5404c465943850e3ed5ffbc0d5c07e10c7c5ee8afbbdb1b
|
||||||
|
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
|
@ -19,6 +19,10 @@ depends="gsfonts"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# force it to use system libs.
|
# force it to use system libs.
|
||||||
rm -rf jpeg{,xr} libpng jasper expat tiff lcms{,2} freetype cups/libs jbig2dec
|
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
|
cd ijs
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue