Setting make options permanently (WITHOUT_GNOME, etc)

Valentin Nechayev netch at segfault.kiev.ua
Wed Apr 2 01:37:38 PST 2003


>>Add them to /etc/make.conf
RM> Another good way is to set them in /usr/local/etc/pkgtools.conf, if you use 
RM> 'portupgrade'. That way you can set them for only the ports they apply to.

There is hackish variant to use in /etc/make.conf only for specific port:

.if ${.CURDIR:N*/ports/news/tin} == ""
BROKEN=test
.endif

It of course can be applied for any directory, not only for ports.
(Origin of this method was found in tech<at>openbsd.org.)


-netch-


More information about the freebsd-ports mailing list