Build just one FreeBSD port

Posted: January 23rd, 2015 | Author: | Filed under: FreeBSD | Tags: , | 1 Comment »

I usually build my own packages with poudriere but it’s not fun to do on tiny boxes so I just do ‘pkg install ‘ on them and use upstream packages. One downside is, that package is build with default options. I recently ran into a situation where I wanted to change some options for just a single port.

Now, what is the minimal set of things in /usr/ports/ that I need to checkout to be able to config/build just one port?
Turns out to be:


And the port I want to actually build. Now I can ‘make config’, change the options and build/install that port without checking out entire ports tree.