diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template index 8f34f3f5d5a..b9584497792 100644 --- a/srcpkgs/ghostscript/template +++ b/srcpkgs/ghostscript/template @@ -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 " 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 }