put this in make.conf --------------------- .if ${.CURDIR:M*/usr/ports*} .include "/etc/ports.conf" .endif put something like this in /etc/ports.conf --------------------------- WITHOUT_X11=true WITHOUT_GNOME=true .if ${.CURDIR:M*/lang/erlang*} WITHOUT_ODBC=true .endif