Date: Tue, 26 May 2009 13:45:28 +0100 From: Florent Thoumie <flz@xbsd.org> To: Erik Trulsson <ertr1013@student.uu.se> Cc: Randy Bush <randy@psg.com>, Peter Pentchev <roam@ringlet.net>, ports <freebsd-ports@freebsd.org> Subject: Re: make.conf no x option Message-ID: <a01628140905260545q149622b9xfbde9fab3c49eef4@mail.gmail.com> In-Reply-To: <20090526120948.GA14134@owl.midgard.homeip.net> References: <m2vdnodrq5.wl%randy@psg.com> <20090526113714.GC1043@straylight.m.ringlet.net> <m2r5ycdr6c.wl%randy@psg.com> <20090526120948.GA14134@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 26, 2009 at 1:09 PM, Erik Trulsson <ertr1013@student.uu.se> wro= te: > On Tue, May 26, 2009 at 08:44:43PM +0900, Randy Bush wrote: >> >> as so many folk build server-only, there must e a make.conf or whatev= er >> >> option to tell ports that you just do not want an x server or any of >> >> it's 500kg friends. =A0but i can not seem to find it. >> > I think you're looking for WITHOUT_X11=3Dyes :) >> >> i have that. =A0i still get a lot of x with some ports. =A0i will try to >> keep a watch for which ones. > > > Well, there are many ports which depend unconditionally upon X. > If you install one of them (or some other port which depends on one of th= em) > you will get X, no questions asked. > > WITHOUT_X11 is useful for those ports which have an optional dependency u= pon > X, but that is all it does. > > > There does not exist any flag which tells the ports-system to refuse to > build any ports which depend on X, which seems to be what you want. Something like the following would work as a safety net. --- /usr/ports/Mk/bsd.xorg.mk.orig 2009-05-26 13:42:52.000000000 +0100 +++ /usr/ports/Mk/bsd.xorg.mk 2009-05-26 13:42:58.000000000 +0100 @@ -28,6 +28,11 @@ # xserver - there's only one atm, I guess everything can fit into the port itself .if defined(XORG_CAT) + +. if defined(WITHOUT_X11) +IGNORE=3D me not want x11 +. endif + # Default variables, common to all new modular xorg ports. .if !defined(USE_TGZ) USE_BZIP2=3D yes --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a01628140905260545q149622b9xfbde9fab3c49eef4>