Re: how to make ports not install xorg or dependencies

2018-08-01 Thread Mark Linimon
On Tue, Jul 31, 2018 at 01:13:31PM +0200, Miroslav Lachman wrote:
> As Guido Falsi already said it is not guaranteed that you will not
> have ports with some X libs, because some ports does not have option
> to disable X11 dependencies.

IMHO those ports have bugs.

mcl
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: how to make ports not install xorg or dependencies

2018-07-31 Thread Miroslav Lachman

tech-lists wrote on 2018/07/31 12:41:

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?



We are using OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS for all of 
our packages (built with poudriere)
As Guido Falsi already said it is not guaranteed that you will not have 
ports with some X libs, because some ports does not have option to 
disable X11 dependencies.


Miroslav Lachman
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: how to make ports not install xorg or dependencies

2018-07-31 Thread Guido Falsi
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 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: how to make ports not install xorg or dependencies

2018-07-31 Thread Guido Falsi
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.

-- 
Guido Falsi 
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"