Use configure.ldflags-delete instead of configure.ldflags?

Ryan Schmidt ryandesign at
Tue Mar 15 15:44:55 PDT 2011

On Mar 15, 2011, at 11:16, Landon J Fuller wrote:

> On Mar 14, 2011, at 9:13 PM, Ryan Schmidt wrote:
>> Sounds like a good suggestion. Right now, the two are equivalent, but it might be better for ports to specify exactly what they mean -- i.e. if deleting -L${prefix}/lib is what's desired, the port should say that, rather than assume that's all that's in the ldflags and just clear them completely.
> Explicitly deleting just -L${prefix}/lib is fragile, however,

How so?

> and 'ldflags' should (imho) be safe for a port to simply reset. This seems demonstrative of the problems that can emerge with base implicitly setting environmental variables and other build-time arguments; it's much harder to control them directly from a port when you need something different.

Then how would you suggest the user's need -- of building all libraries with maximum header padding -- be met?

More information about the macports-dev mailing list