Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 May 2007 09:35:07 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Paul Schmehl <pauls@utdallas.edu>, freebsd-ports@freebsd.org
Subject:   Re: Setting X11BASE
Message-ID:  <20070522093507.7ut7s6uescgssg40@webmail.leidinger.net>
In-Reply-To: <20070521185739.GA79660@xor.obsecurity.org>
References:  <46504986.1010205@netfence.it> <D18E5DEA208C2AA6714A7AB5@paul-schmehls-powerbook59.local> <20070520202415.GA43326@xor.obsecurity.org> <76BFFE223D3D165D7F4283A3@paul-schmehls-powerbook59.local> <20070521114932.pf1nvaa74kkwk4gk@webmail.leidinger.net> <20070521185739.GA79660@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kris Kennaway <kris@obsecurity.org> (from Mon, 21 May 2007 =20
14:57:39 -0400):

> On Mon, May 21, 2007 at 11:49:32AM +0200, Alexander Leidinger wrote:
>> Quoting Paul Schmehl <pauls@utdallas.edu> (from Sun, 20 May 2007
>> 16:28:56 -0500):
>>
>> >It would be nice if every port that you use on a headless system didn't
>> >require xorg libraries, but I suppose that's unrealistic.
>>
>> Add this to your make.conf:
>> ---snip---
>> WITHOUT_X11=3Dyes
>> NO_X11=3Dyes        # needed in the past and maybe still needed
>> ---snip---
>>
>> Recompile every port you need which depends upon the x11 libs (e.g. gd
>> and php). Deinstall the x11 ports.
>>
>> Better would be to put this into make.conf before installing any port,
>> this way no x11 libs should be pulled in as a dependency from the
>> beginning.
>
> I think NO_X11 is a NOP.

It should be, but once I stumbled upon this.

> Also WITHOUT_X11 will only disable X support in ports for which it is
> optional.  Many (probably most) ports that require X cannot work
> without it, and if such a port is either specified explicitly or
> pulled in as a dependency then you'll get what you asked for.

Yes, but most of the time the X11 libs are pulled in on a headless =20
server because of some dependency you don't need (e.g. php->gd->X11 =20
for XPM which is not needed if you use PNG; or ghostscript->X11 on a =20
printserver where you don't intend to display the postscript before =20
printing). In this case WITHOUT_X11 works without a problem (at least =20
on those servers I use this).

Bye,
Alexander.

--=20
I have gained this by philosophy:
that I do without being commanded what others
do only from fear of the law.
=09=09-- Aristotle

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID =3D 72077137



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