diff --git a/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild b/app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild index d049c3f595a95..1970779a3d87b 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