Skip to content

Instantly share code, notes, and snippets.

@sarcasticadmin
Created February 1, 2019 07:40
Show Gist options
  • Save sarcasticadmin/39f98da0a1e871ce593b2db576a9cd9d to your computer and use it in GitHub Desktop.
Save sarcasticadmin/39f98da0a1e871ce593b2db576a9cd9d to your computer and use it in GitHub Desktop.
Misc notes from ports tree work

Freebsd 11 ports notes

Disabling x11 for headless instances

echo "OPTIONS_UNSET+=X11" >> /etc/make.conf

Building a pkg from a local port

make config-recursive package

port will be under ./work/pkg/

Clean only toplevel port

make clean NOCLEANDEPENDS=yes

Good for rebuilding port with lots of deps

Add local pkg to pkgng

pkg add <pkg>

fetchindex

The following must be run from /usr/ports

make fetchindex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment