Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2001 22:44:28 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.ORG>
To:        Mike Meyer <mwm@mired.org>
Cc:        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, ports@FreeBSD.ORG
Subject:   Re: WITHOUT_X vs. WITHOUT_X11 vs. NO_X
Message-ID:  <3B17F09C.2EFB0B48@FreeBSD.org>
References:  <15127.61125.223478.210748@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer wrote:

> 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.

I'm voting for WITHOUT_X11 - it is unlikely that we will see X12 in a foreseable
future, so why to bother?

-Maxim


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?3B17F09C.2EFB0B48>