[MacPorts] #14216: patch to graphics/gd2 to do a better job linking against libiconv and gdlib-config reporting of same

MacPorts trac at macosforge.org
Sat Feb 16 21:54:09 PST 2008


#14216: patch to graphics/gd2 to do a better job linking against libiconv and
gdlib-config reporting of same
---------------------------------+------------------------------------------
  Reporter:  ricci at macports.org  |       Owner:  ricci at macports.org
      Type:  defect              |      Status:  closed            
  Priority:  Normal              |   Milestone:  Port Bugs         
 Component:  ports               |     Version:  1.6.0             
Resolution:  fixed               |    Keywords:                    
---------------------------------+------------------------------------------
Comment (by ricci at macports.org):

 Gah, totally forgot about bumping the revision. Yeah, we should, the
 reason being the answer to your first paragraph...
 GD2 does link just fine against libiconv.  gdlib-config doesn't properly
 report how the linking was done (before the above patch), IIRC, it reports
 the link against libiconv as the path to libiconv (i.e.
 "/opt/local/lib/libiconv.dylib" instead of "-L/opt/local/lib -liconv".
 This results in failures for other software (like p5-gd) that try to use
 gdlib-config - thus p5-gd had some special (and hard-wired) configure
 arguments to avoid using gdlib-config.
 You should be able to see this by running "gdlib-config --libs" before and
 after this patch.
 If you'd like me to bump the revision I will, just let me know.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14216#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list