Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-28 Thread Ken Cunningham
> On Oct 24, 2020, at 19:51, Ken Cunningham wrote: > > > On Oct 24, 2020, at 3:36 PM, Ryan Schmidt wrote: > > > >> On Oct 24, 2020, at 11:46, Ken Cunningham wrote: > >> > >>> So instead of this method, I will look into running lsearch on *.env, and > >>> see if I can sort out how to add some en

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-25 Thread Ryan Schmidt
On Oct 24, 2020, at 21:51, Joshua Root wrote: > 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 bo

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-25 Thread Ryan Schmidt
On Oct 24, 2020, at 19:51, Ken Cunningham wrote: > On Oct 24, 2020, at 3:36 PM, Ryan Schmidt wrote: > >> On Oct 24, 2020, at 11:46, Ken Cunningham wrote: >> >>> So instead of this method, I will look into running lsearch on *.env, and >>> see if I can sort out how to add some entries if some

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Joshua Root
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

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Ken Cunningham
> On Oct 24, 2020, at 3:36 PM, Ryan Schmidt wrote: > > > > On Oct 24, 2020, at 11:46, Ken Cunningham wrote: > >> So instead of this method, I will look into running lsearch on *.env, and >> see if I can sort out how to add some entries if something is already there. > > MacPorts base mak

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Ryan Schmidt
On Oct 24, 2020, at 11:46, Ken Cunningham wrote: > So instead of this method, I will look into running lsearch on *.env, and see > if I can sort out how to add some entries if something is already there. MacPorts base makes this easier for specific variables by offering MacPorts variables t

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Ken Cunningham
> On Oct 24, 2020, at 9:50 AM, Ken Cunningham > wrote: > > > >> On Oct 24, 2020, at 9:46 AM, Ken Cunningham > > wrote: >> >> configure.env-append"DYLD_LIBRARY_PATH=${prefix}/lib/lilbgcc" >> configure.env-append“DYLD_LIBRARY_PATH=${work

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Ken Cunningham
> On Oct 24, 2020, at 9:46 AM, Ken Cunningham > 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/loca

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Ken Cunningham
> On Oct 24, 2020, at 8:52 AM, Joshua Root wrote: > > On 2020-10-25 02:18 , Ken Cunningham wrote: >> It's easy to prepend or append to PATH in a Portfile, but I'm having >> difficulty seeing how to modify, rather than overwrite, DYLD_LIBRARY_PATH. >> >> Usually you just want to set it, but no

Re: how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

2020-10-24 Thread Joshua Root
On 2020-10-25 02:18 , Ken Cunningham wrote: > It's easy to prepend or append to PATH in a Portfile, but I'm having > difficulty seeing how to modify, rather than overwrite, DYLD_LIBRARY_PATH. > > Usually you just want to set it, but now that it might or might not be set in > legacysupport 1.1, I