[MacPorts] #47934: libvpx should be in depends_build not depends_lib
MacPorts
noreply at macports.org
Thu Jan 7 17:45:43 PST 2016
#47934: libvpx should be in depends_build not depends_lib
-------------------------------------------------+-------------------------
Reporter: ryandesign@… | Owner:
Type: defect | ryandesign@…
Priority: Normal | Status: closed
Component: ports | Milestone:
Resolution: fixed | Version: 2.3.3
Port: avidemux, ffmpeg, ffmpeg-devel, | Keywords:
gd2, gstreamer010-gst-plugins-bad, gstreamer1 |
-gst-plugins-good |
-------------------------------------------------+-------------------------
Comment (by dstrubbe@…):
I'm don't think this is a good idea for gd2, because it recommends linking
libvpx according to its config binary:
{{{
gdlib-config --libs
-lgd -ljpeg -lz -L/opt/local/lib -lpng16 -L/opt/local/lib -lfreetype
-L/opt/local/lib -lfontconfig -lfontconfig -L/opt/local/lib -lXpm
-L/opt/local/lib -lvpx -L/opt/local/lib -ltiff -liconv
}}}
Everything else in this list is depends_lib for gd2. As a result, a code
which naturally uses the output of this command in a configure script to
decide how to link will fail if libvpx is no longer installed.
On the other hand, the depends_lib port:expat does not seem to be
dynamically linked into any library or executable from gd2, so I wonder if
it really needs to be depends_lib.
--
Ticket URL: <https://trac.macports.org/ticket/47934#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list