On Wed, Feb 01, 2012 at 04:38:05PM -0600, Ryan Schmidt wrote:
> Yup. It was never clear to me why we added CPATH and LIBRARY_PATH to MacPorts 
> base, since the existing CPPFLAGS and LDFLAGS we set in the configure phase 
> should have the same effect for properly-behaved ports, and 
> improperly-behaved ports should be fixed. 

I believe the thinking at the time was that we would eventually remove
the default CPPFLAGS and LDFLAGS in favor of CPATH and LIBRARY_PATH.
They're not quite identical; CPATH and LIBRARY_PATH are preferable
because they come later in the search order. This makes a difference
for some ports (texlive-bin comes to mind).

Of course, that was all before we were using clang...

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to