build.env-append working with merger in muniversal?

Michael Dickens michaelld at macports.org
Wed Sep 15 13:55:58 PDT 2010


On Sep 15, 2010, at 4:47 PM, Ryan Schmidt wrote:
> Existing ports might depend on the existing behavior. Though IMHO MacPorts is within its right to do it either way; behavior is IMHO undefined if you ask for the same env var to be appended multiple times with different values, and port authors should refrain from doing that.

Understood and agreed.  Either way, I think a warning (such as I added in the diff) would be welcome -- I do read through the debugging output of ports with which I'm working, and I'd spot such a warning & wonder about it & try to fix it.  The appending was mostly a simple way to get around the limitations of the regexp not working with \" strings to verify that setting CC="${prefix}/bin/gcc-mp-4.4 -m4" worked (it does). - MLD


More information about the macports-dev mailing list