commit: 5c59ac63b4932179366f6c948f02a0f7439b25fc
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 23:30:00 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 23:31:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c59ac63
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.
app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
b/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
index d049c3f..1970779 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