how to make ports not install xorg or dependencies

Guido Falsi mad at
Tue Jul 31 10:51:18 UTC 2018

On 7/31/18 12:49 PM, Guido Falsi wrote:
> On 7/31/18 12:41 PM, tech-lists wrote:
>> Hello,
>> context: freebsd-12 r336215 arm64
>> I don't want xorg or X11 or any of its components installed on this
>> system. I install ports in the traditional way, in other words cd port
>> && make config && make install. Any ports that in a generic config want
>> to install xorg libs, I want the no-x11 variant.
>> There used to be a way to enforce this no-xorg in make.conf but looking
>> at /usr/share/examples/etc/make.conf I can find no reference to X Xorg
>> x11 or xorg. I presume there's a new method. If there is, can anyone
>> please tell me how?
> You can add OPTIONS_UNSET+=X11 in make.conf.
> ports having an X11 option will have that disabled by default.
> There is no warranty no port will have X11 dependencies anyway, it's not
> mandatory to respect that knob.

I was too hasty in hitting send. There are other options which influence
X11 dependencies.

I usually also disable XPM and CUPS at least. It also depends on which
ports you are installing.

Guido Falsi <mad at>

More information about the freebsd-questions mailing list