how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

Ken Cunningham ken.cunningham.webuse at
Sat Oct 24 16:56:12 UTC 2020

> On Oct 24, 2020, at 9:50 AM, Ken Cunningham <ken.cunningham.webuse at> wrote:
>> On Oct 24, 2020, at 9:46 AM, Ken Cunningham <ken.cunningham.webuse at <mailto:ken.cunningham.webuse at>> wrote:
>> configure.env-append        "DYLD_LIBRARY_PATH=${prefix}/lib/lilbgcc"
>> configure.env-append        “DYLD_LIBRARY_PATH=${workpath}/build”
>> but I found the second one just obliterates the first one.
>> DYLD_LIBRARY_PATH='/opt/local/lib/lilbgcc'
> well the second one didn’t obliterate the first — other way around. 
> but they both didn’t make into the env, which was what I was going for with that comment.

I am sorry, I cheated a bit using configure, and there is no ${workpath}/build during configure, of course.

The second one did obliterate the first, which is what I saw last night, and it shows up better using 


where everything exists. For example, with “atk”, adding this:

destroot.env-append        "DYLD_LIBRARY_PATH=${prefix}/lib/lilbgcc"
destroot.env-append        “DYLD_LIBRARY_PATH=${workpath}/build”



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list