Noobish question

Dan Ports dports at macports.org
Wed Feb 1 14:59:35 PST 2012


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/


More information about the macports-users mailing list