Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2009 21:46:17 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Randy Bush <randy@psg.com>
Cc:        Peter Pentchev <roam@ringlet.net>, ports <freebsd-ports@freebsd.org>, Florent Thoumie <flz@xbsd.org>
Subject:   Re: make.conf no x option
Message-ID:  <20090526194617.GA16353@owl.midgard.homeip.net>
In-Reply-To: <m2ljojelx6.wl%randy@psg.com>
References:  <m2vdnodrq5.wl%randy@psg.com> <20090526113714.GC1043@straylight.m.ringlet.net> <m2r5ycdr6c.wl%randy@psg.com> <20090526120948.GA14134@owl.midgard.homeip.net> <a01628140905260545q149622b9xfbde9fab3c49eef4@mail.gmail.com> <m2ljojelx6.wl%randy@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 27, 2009 at 03:52:53AM +0900, Randy Bush wrote:
> > 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=		me not want x11
> > +. endif
> > +
> >  # Default variables, common to all new modular xorg ports.
> >  .if !defined(USE_TGZ)
> >  USE_BZIP2=    	yes
> 
> looks useful.

Perhaps, but it would change the meaning of 'WITHOUT_X11=yes' quite a bit, so
I do not think it would be suitable to commit to the ports tree as-is (and I
hope nobody had planned on doing that.)

(At the moment 'WITHOUT_X11=yes' means that those ports which have optional
support for X11 should be built without it.  With the patch above it would
change to mean that the ports system will refuse to build *any* port which
depends on X11.)

> 
> i think this whole thing is worth a few days to settle in our heads.
> essentially, if we believe that freebsd is used extensively in headless
> server deployments, we should make that easy and smooth.

But even a headless server can run X clients with the display being on some
other (presumably non-headless) machine. That is on of the beauties of the
X Windowing System. 

The only part that would make no sense to install on a headless machine is
the X server itself, which almost no ports depend on anyway (and those which
do are mainly other components of X.)


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090526194617.GA16353>