how to prepend or append to DYLD_LIBRARY_PATH in Portfile?

Ryan Schmidt ryandesign at
Sat Oct 24 22:36:26 UTC 2020

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 to set them. For example configure.cflags to set CFLAGS, configure.pkg_config_path to set PKG_CONFIG_PATH, etc. We could consider offering e.g. configure.dyld_library_path to set DYLD_LIBRARY_PATH.

More information about the macports-dev mailing list