Today I was updating our main FreeBSD DNS server, and when I went to make bind9, I got an odd failure message:
super1# pwd
/usr/ports/dns/bind9
super1# make
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf. On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1
Stop.
super1#
To fix it, (for a server which has no X11 installed)… I edited the make.conf file under /etc to “USE_NONDEFAULT_X11BASE”.
pico /etc/make.conf- Add the following line at the bottom.
USE_NONDEFAULT_X11BASE=${LOCALBASE}
Also add a comment mentioning the change.
# added by DC 6.28.2007 to fix ports when running make
Hopefully this helps.