On Saturday 28 October 2006 07:39, Andreas Klemm wrote:
> Hi,
>
> a USENET posting of a user, looking for a global make variable
> to prevent building of x11 based software, caused me to look
> how to do it best with FreeBSD. Maybe he came from Gentoo Linux ;-)
>
> At the moment I only found the variable WITHOUT_X11.
> But its only for ports, that can be built optionally with and without
> X11 support. It doesn't hinder directly to built x11 stuff using ports
> collection.

You could just add the following to make.conf

.if ${.CURDIR:M*/x11*}
IGNORE="dont build X11 ports"
.endif

Anything under the x11* categories would be marked as ignore, and anything 
that depends on them would fail to build.

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to