#12610 closed defect (fixed)
BUG: ghostscript framework links against system zlib
Reported by: | ehainry@… | Owned by: | takanori@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: |
Description
Previously, ghostscript depended on lib:libz:gzip, which is the correct way of putting it: there is no use installing gzip for building ghostscript on macosx.
Change History (7)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Milestone: | → Port Bugs |
comment:2 Changed 17 years ago by ehainry@…
Oops, you are right, I was wrong saying that lib:libz:gzip was the correct way dependency. However, it is true that ghostscript does not need macports' gzip to build (and in fact does not seem to link against anything in port:gzip).
So port:gzip should be replaced by port:zlib.
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Since no response from maintainer, I changed the dependency from gzip to zlib in r29804.
The framework issue I reported above still remains.
comment:4 Changed 17 years ago by jmroot (Joshua Root)
Cc: | digdog@… ehainry@… removed |
---|---|
Summary: | BUG: ghostscript should not depend on port:gzip → BUG: ghostscript framework links against system zlib |
comment:5 Changed 17 years ago by takanori@…
Owner: | changed from digdog@… to takanori@… |
---|
comment:6 Changed 17 years ago by takanori@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r36106.
Note: See
TracTickets for help on using
tickets.
Well, wait a minute. MacPorts policy is to use its own software where possible unless there's a really good reason not to. However, according to the original specification, "
libz
" is the software being sought, but thegzip
port does not provide that library. Rather, thezlib
port does. So theghostscript
port should depend on thezlib
port, not thegzip
port.Furthermore there is the problem that, while the
${prefix}/bin/gs
binary is correctly linking against${prefix}/lib/libz.1.dylib
,${prefix}/Library/Frameworks/Ghostscript.framework/Ghostscript
is still linking against/usr/lib/libz.1.dylib
which it shouldn't. (This is when I installedghostscript +gslib
.)