Always add -L${prefix}/lib, -I${prefix}/include?

Paul Guyot pguyot at kallisys.net
Sat Mar 24 18:36:07 PDT 2007


On Mar 25, 2007, at 9:19 AM, Paul Guyot wrote:

>
> On Mar 25, 2007, at 9:00 AM, Ryan Schmidt wrote:
>
>> What is this new mechanism you're working on? I would have thought  
>> that MacPorts already somewhere defines what default environment  
>> variables to use, and that the -L and -I options could simply be  
>> added to it, without requiring any major reworking.
>
> Well, it doesn't and this is what I'm solving right now.
> I propose that I'll commit it after a couple of tests, and then  
> we'll discuss:
> - if we should define default optimization/debug flags globally
> - the most beautiful way to handle universal variant

Done. Now that this change is committed:
http://trac.macosforge.org/projects/macports/changeset/23098

we probably can consider adding -L${prefix}/lib and -I${prefix}/ 
include and clean up portfiles to avoid redundancy.

Paul




More information about the macports-dev mailing list