redefined data types in different packages - request for help
Ryan Schmidt
ryandesign at macports.org
Sat Nov 9 18:39:53 PST 2013
On Nov 9, 2013, at 20:19, Michael Dickens wrote:
> Using "-isystem ${prefix}/include" seems like a great solution to using CPATH; it seems to work all the way back to clang 2.9 and gcc 4.2, maybe further, while CPATH started with (I think) clang 2.9 -- I'll have to investigate using it for qt4-mac.
>
> I use LIBRARY_PATH instead of setting LDFLAGS, which works with gcc 4.2 or newer, probably much older too, but only clang 3.0 or newer (again, I think). I find no good flags such as -isystem to do libraries in this way. - MLD
MacPorts does already automatically set CPATH and LIBRARY_PATH for all ports in all phases. Not sure this was a good thing to have done since it’s not necessary when CPPFLAGS and LDFLAGS are set correctly, and you still need to set CPPFLAGS and LDFLAGS correctly for older compilers that don’t understand CPATH and LIBRARY_PATH.
More information about the macports-dev
mailing list