Setting X11BASE
Kris Kennaway
kris at obsecurity.org
Mon May 21 18:57:40 UTC 2007
On Mon, May 21, 2007 at 11:49:32AM +0200, Alexander Leidinger wrote:
> Quoting Paul Schmehl <pauls at 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=yes
> NO_X11=yes # 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.
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.
Kris
More information about the freebsd-ports
mailing list