Unless I'm building a webserver or database machine (or some other setup that requires heavy /var usage), I partition everything around /usr. On my workstation, where I built ports and test patches, I have 2G for /usr, but then I have /usr/{ports,local,obj,src,xenocara,X11R6} all mounted on their own partitions. Even so, /usr is 33% full.
You probably don't need anything that complex, but then again if you aren't modifying the Makefile you don't need to build from ports, either. Just install the package and call it a day. You'll save yourself the headache of having to install the build tools that php requires and all the space that you would otherwise use building ports.
If you *really* have your heart set on building ports, set FETCH_PACKAGES=Yes in /etc/mk.conf so all of the dependencies are installed from packages and only the port you are actually trying to build is built from source to cut down on wasted space.
__________________
Linux/Network-Security Engineer by Profession. OpenBSD user by choice.
|