#14216: patch to graphics/gd2 to do a better job linking against libiconv and gdlib-config reporting of same ---------------------------------+------------------------------------------ Reporter: ricci@macports.org | Owner: ricci@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Comment (by ryandesign@macports.org): I did notice that `gdlib-config --libs` contained `/opt/local/lib/libiconv.dylib` which seemed odd to me. I bumped the revision in r34197. Before: {{{ $ port installed gd2 The following ports are currently installed: gd2 @2.0.35_0 (active) $ gdlib-config --libs -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz /opt/local/lib/libiconv.dylib $ }}} After: {{{ $ port installed gd2 The following ports are currently installed: gd2 @2.0.35_1 (active) $ gdlib-config --libs -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -L/opt/local/lib -liconv -R/opt/local/lib $ }}} Though I must say it seems like `gdlib-config --libs` shouldn't need to include `-L/opt/local/lib` since that's already included in `gdlib-config --ldflags`. I'm also not sure what `-R/opt/local/lib` means; never seen `-R` before. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14216#comment:6> MacPorts </projects/macports> Ports system for Mac OS