Skip to content

Commit

Permalink
app-text/ghostscript-gpl: fix zlib.h build error #573248
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vapier committed Feb 12, 2016
1 parent 31291e4 commit 5c59ac6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-text/ghostscript-gpl/ghostscript-gpl-9.18.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c59ac6

Please sign in to comment.