summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-12 18:30:00 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-12 18:31:10 -0500
commit5c59ac63b4932179366f6c948f02a0f7439b25fc (patch)
treea833d08711a76db91dbf6f5be83c28ea8a2ad2ae /app-text/ghostscript-gpl
parentmedia-libs/embree: Initial import, ebuild written by me. (diff)
downloadgentoo-5c59ac63b4932179366f6c948f02a0f7439b25fc.tar.gz
gentoo-5c59ac63b4932179366f6c948f02a0f7439b25fc.tar.bz2
gentoo-5c59ac63b4932179366f6c948f02a0f7439b25fc.zip
app-text/ghostscript-gpl: fix zlib.h build error #573248
Newer versions of ghostscript refer to the zlib.h header file directly in the makefiles. Since we point it to a bogus place, that fails. Change it to an empty value since checking it for deps is pointless for our builds.
Diffstat (limited to 'app-text/ghostscript-gpl')
-rw-r--r--app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
index d049c3f595a9..1970779a3d87 100644
--- a/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
+++ b/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
@@ -124,6 +124,10 @@ src_prepare() {
sed -i \
-e "/^ZLIBDIR=/s:=.*:=${T}:" \
configure.ac || die
+ # Some files depend on zlib.h directly. Redirect them. #573248
+ sed -i \
+ -e '/^zlib_h/s:=.*:=:' \
+ base/lib.mak || die
# search path fix
# put LDFLAGS after BINDIR, bug #383447