From owner-freebsd-ports Fri Jun 1 12:36:42 2001 Delivered-To: freebsd-ports@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 8D6FE37B440 for ; Fri, 1 Jun 2001 12:36:39 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 55250 invoked by uid 100); 1 Jun 2001 19:36:37 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15127.61125.223478.210748@guru.mired.org> Date: Fri, 1 Jun 2001 14:36:37 -0500 To: anders@fix.no, andreas@FreeBSD.org, eric@cybernut.com, ijliao@FreeBSD.org, jdp@FreeBSD.org, jdp@polstra.com, jmz@FreeBSD.org, jseger@FreeBSD.org, keith@FreeBSD.org, knu@FreeBSD.org, lioux@FreeBSD.org, matusita@jp.FreeBSD.org, mi@aldan.algebra.com, nectar@FreeBSD.ORG, nobutaka@nobutaka.com, obrien@FreeBSD.org, ozz@FreeBSD.org.ru, sam@inf.enst.fr, sheldonh@FreeBSD.org, shige@FreeBSD.org, trevor@FreeBSD.org, yatt@msc.biglobe.ne.jp Cc: ports@FreeBSD.org Subject: WITHOUT_X vs. WITHOUT_X11 vs. NO_X X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Various ports test NO_X, WITHOUT_X, or WITHOUT_X11 to see if they should build without X support. The make.conf man page was recently changed to indicate to users that WITHOUT_X is the variable to use for that. My searches of the -ports archive didn't turn up anything, so there may not have been sufficient discussion of it before this happened. NO_X is documented as disabling X supportin parts of the base system. While using this for ports is a logical extension of that, it's not clear that the same flag should be used for ports and for the base system. If you're building packages on a system on which you don't run X, you might want to set NO_X for the base system, but have the packages default to building with support for X. WITHOUT_X11 includes the version number of X, which is inappropriate. If we ever need to distinguish between X versions, then X_VERSION - matching XFREE86_VERSION - would be more appropriate. Since WITHOUT_X has already been documented, fixing the ports that used one of the other variables to use that one relatively soon would be a good thing. Unless there's a good reason to use one of the other two, that is. Thanx, http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message