how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

Joshua Root jmr at macports.org
Sun Oct 25 02:51:06 UTC 2020


On 2020-10-25 03:46 , Ken Cunningham wrote:
> Do you think this:
> 
> configure.env-append        "DYLD_LIBRARY_PATH=${prefix}/lib/lilbgcc"
> configure.env-append        “DYLD_LIBRARY_PATH=${workpath}/build”
> 
> should “just work" to set both without added shenanigans?

This is a very special case where "set both" makes any sense. Not all
environment variables are treated as lists and not all use the same
separator. This aspect of the behaviour matches that of env(1) currently
BTW.

 Josh


More information about the macports-dev mailing list