Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2001 14:36:37 -0500
From:      Mike Meyer <mwm@mired.org>
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
Message-ID:  <15127.61125.223478.210748@guru.mired.org>

next in thread | raw e-mail | index | archive | help
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,
	<mike
--
Mike Meyer <mwm@mired.org>			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




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