Opened 7 years ago

Closed 7 years ago

#55949 closed defect (fixed)

libpng.pc should have zlib in Requires.private

Reported by: jmroot (Joshua Root) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libpng

Description

Having it in Requires causes overlinking in dependents:

% pkg-config --libs libpng         
-L/opt/local/lib -lpng16 -lz

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Well I've been wondering about that. But it's an upstream issue, right?

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Yes, though upstream may not want to change it in order to maintain compatibility with old versions of pkg-config that didn't support Requires.private.

Anyway not a huge deal but not optimal.

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In eee635abdebd6e244019d47171c618ac33b08e62/macports-ports:

libpng: Avoid overlinking to libz

Closes: #55949

Note: See TracTickets for help on using tickets.