View Single Post
  #9   (View Single Post)  
Old 30th August 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

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.
Reply With Quote