redefined data types in different packages - request for help
Michael Dickens
michaelld at macports.org
Sat Nov 9 18:19:35 PST 2013
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
On Sat, Nov 9, 2013, at 04:53 PM, Ryan Schmidt wrote:
On Nov 9, 2013, at 14:00, Michael Dickens wrote:
Hi Mojca - Since the CMake PortGroup was recently modified to include
CPPFLAGS="-I${prefix}/include", I've been having to remove that setting
from my ports which use this group because it grabs already-installed
headers instead of those local to the port (CPPFLAGS gets propagated to
CFLAGS and CXXFLAGS).
[1]https://trac.macports.org/ticket/40656 should fix this.
Ditto for LDFLAGS and "-L${prefix}/lib".
But not this. I'm not aware of a similar directive we could use to fix
this for libraries.
References
1. https://trac.macports.org/ticket/40656
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20131109/289d52a6/attachment.html>
More information about the macports-dev
mailing list