Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#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

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 the gzip port does not provide that library. Rather, the zlib port does. So the ghostscript port should depend on the zlib port, not the gzip 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 installed ghostscript +gslib.)

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:gzipBUG: 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: newclosed

Fixed in r36106.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.