Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 16:28:43 +0000
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: what to use as "global" switch to not build x11 based ports ?
Message-ID:  <200610291628.45246.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <20061028063938.GA8871@titan.klemm.apsfilter.org>
References:  <20061028063938.GA8871@titan.klemm.apsfilter.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610291628.45246.list-freebsd-2004>