On Dec 10, 2010, at 2:30 PM, Ryan Schmidt wrote: > > Yes, there is a problem with installing software manually (or using Homebrew) > in /usr/local while also wanting to use MacPorts. This is because the gcc > compiler will automatically find things there, irrespective of what's set > with -L or -I. This has been discussed many times on the list before; you can > probably find more about this situation in the list archives if you're > interested. If anybody knows a way we can change MacPorts base to avoid this > we are all ears, but to my knowledge we do not so far know how to do this, > therefore the only thing we can say is that we do not support using MacPorts > while there are things in /usr/local.
We could use -nostdinc (and just have MP add in the non /usr/local stdinc directories) It will be a pain (as has been discussed earlier), but I don't think there really is a better option. (Unless we wanted to ship our own version of gcc to build everything with - and have it configured to not search /usr/local) -- Daniel J. Luke +========================================================+ | *---------------- [email protected] ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
