Am 06.04.2013 um 11:31 schrieb Martin Costabel:

> -I/usr/include -I/usr/X11/include -I/opt/X11/include 

If it's that simple – and I'm starting to believe that – then it would be 
useful to patch the make system to have

        -idirafter /usr/X11/include -idirafter /opt/X11/include

instead. In that case GCC searches /usr/X11/include (and MacPorts' 
/opt/X11/include) definitely last for C header files so that a "foreign" png.h 
file won't be used because Fink's one is found first.

This can easily be checked by adding -H to CFLAGS of CPPFLAGS (because then all 
C header used for compilation are listed).

--
Greetings

 Pete

If men could get pregnant, abortion would be a sacrament.
                                – Florynce Kennedy


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to