The default install directory of VirtualBox is /Applications/VirtualBox.app/. Hardening needs some additional configuration and post-build steps. Never disable hardening (see previous section) when creating packages for redistribution.
Until recently the official builds were done using Xcode 6.2 (you may use the tools/darwin.amd64/bin/ script to 'install' the necessary bits on later OS X versions).Īfter installing MacPorts, do not forget to make sure the following two lines are in your ~/.profile or ~/.zprofile file and actually loaded in the shell you're using:Įxport PATH=/opt/local/bin:/opt/local/sbin:$PATHĮxport MANPATH=/opt/local/share/man:$MANPATH