portconfigure.tcl - why does appending to an ENV variable (like CFLAGS) not also append to configure.cflags ?
Ken Cunningham
ken.cunningham.webuse at gmail.com
Thu Nov 8 16:44:40 UTC 2018
On 2018-11-08, at 8:16 AM, Ken Cunningham wrote:
> OK. I guess the answer to my question then really is that it is apparently purposelful and desired behavoir that
>
> configure.cxxflags is not set up the same as CXXFLAGS
>
> and likewise for all the others as well. That concept is a new one for me, but I'll try to wrap my head arond this.
>
> Thanks,
>
> Ken
I will say, though -- look at all the shenanigans in
graphics/freeimage/Portfile
pretty much all of which would not be needed if portconfigure did poplulate the configure.NNflags
it has almost completely reduplicated the portconfigure.tcl logic.
That's more or less what every non-autotools non-cmake port would have to do to get full compliance with isysroot, syslibroot, etc etc etc.
Ken
More information about the macports-dev
mailing list