switching between x11 and quartz

Ryan Schmidt ryandesign at macports.org
Sat Oct 28 00:33:16 UTC 2017


On Oct 27, 2017, at 09:14, Langer, Stephen A. (Fed) wrote:
> 
> Would it work to use stow to switch between two versions installed in /opt/local/stow/ports-x11 and /opt/local/stow/ports-quartz?   I guess I'd also need a stow directory in /Applications or /Applications/MacPorts.  Does macports install anything outside of /opt/local and /Applications/MacPorts?   Will anything in macports break if it's used via the  symlinks that stow sets up?

I haven't heard of stow so I don't know if it will work. I don't know if anything will break if you use symlinks; I would expect most ports would work but some might not. Although ports should not install files outside of ${prefix}, ${applications_dir} and ${frameworks_dir}, ports are able to do so, and some do. Most notably, MacPorts base will install a launchd plist in /Library/LaunchDaemons for ports that request it, so you will have to configure your alternate MacPorts installations not to do that by setting "startupitem_install no" in macports.conf.



More information about the macports-users mailing list