Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 10:02:08 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Salvo Bartolotta <bartequi@neomedia.it>
Cc:        questions@freebsd.org
Subject:   Re: NO_X in /etc/defaults/make.conf
Message-ID:  <15074.62064.794195.783746@guru.mired.org>
In-Reply-To: <52273847@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Salvo Bartolotta <bartequi@neomedia.it> types:
> > Hi,
> > in /etc/defaults/make.conf there is an option "NO_X". Do I want or
> > need this, if I'm using the ports version of XFree 4.03 ? Would it
> > destroy anything, if set to TRUE ?
> > BTW, I already have XFREE86_VERSION=4 in /etc/make.conf .

Sorry I missed the original. The answer is that you probably don't
want to add this to any system that's running X.

> I seem to understand that the NO_X option is used for removing X
> support from those ported programs which can function without X.

More accurately, if a port can be built without X support, turning on
NO_X should build the version without X support. For instance, you
might want ghostscript sans X on a server that's providing printer
support. On the other hand, if you do have X, probably want X support.
Some programs won't run on a system without the X libraries if built
without NO_X, which is really why it exists.

> I have always installed X -- most of my software, actually -- via
> the ports mechanism. <disclaimer> I am not aware of any potential
> problems which might arise when X is installed otherwise
> </disclaimer>. I appear to understand <answer type="tentative"> that
> some ports look for installed libraries & suchlike. Thus the
> installation method (ports or packages) should be
> immaterial. </answer>

The only difference between installing via ports and installing via
packages is that ports are built in your environment, including
whatever you have in /etc/make.conf. Packages are built in a
"standard" environment, presumably with no /etc/make.conf.

	<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-questions" in the body of the message




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