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?
-- Steve On 10/26/17, 6:09 PM, "Ryan Schmidt" <ryandes...@macports.org> wrote: On Oct 26, 2017, at 10:59, Langer, Stephen A. (Fed) wrote: > > Is there an easy way to switch back and forth between x11 and quartz variants? No. Ideally if you want to change your mind about whether you're using X11 or Quartz, you should uninstall all ports before doing so, then edit variants.conf to reflect your new choice. If you want to be able to switch back and forth between X11 and Quartz versions, it might be easier to set up a second MacPorts installation (somewhere other than /opt/local) for Quartz and keep the default MacPorts installation (at /opt/local) for X11.