From owner-freebsd-ports@FreeBSD.ORG Tue May 26 19:46:42 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F0B81065686 for ; Tue, 26 May 2009 19:46:42 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 1DAA58FC1C for ; Tue, 26 May 2009 19:46:41 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:57390 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1M92bM-0003WI-7t for freebsd-ports@freebsd.org; Tue, 26 May 2009 21:46:22 +0200 Received: (qmail 29063 invoked from network); 26 May 2009 21:46:17 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 26 May 2009 21:46:17 +0200 Received: (qmail 16427 invoked by uid 1001); 26 May 2009 21:46:17 +0200 Date: Tue, 26 May 2009 21:46:17 +0200 From: Erik Trulsson To: Randy Bush Message-ID: <20090526194617.GA16353@owl.midgard.homeip.net> References: <20090526113714.GC1043@straylight.m.ringlet.net> <20090526120948.GA14134@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1M92bM-0003WI-7t. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1M92bM-0003WI-7t 2c800b08c6684e255754f9c60664edea Cc: Peter Pentchev , ports , Florent Thoumie Subject: Re: make.conf no x option X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2009 19:46:43 -0000 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.) -- Erik Trulsson ertr1013@student.uu.se