setting port options for multiple ports
mad at madpilot.net
Mon Jul 30 20:23:31 UTC 2018
On 7/30/18 8:48 PM, Jan Beich wrote:
> Guido Falsi <mad at madpilot.net> writes:
>> On 7/30/18 1:02 PM, blubee blubeeme wrote:
>>> I am working on a port that requires many other ports to be built with
>>> specific options selected.
>>> Is there any way to have a port enables options in it's dependencies?
>> There is no way to do exactly what you are asking for, but the
>> "traditional" solution is to create a slave port forcing the options you
>> require and naming it accordingly.
>> This could also be done with flavors today, but keep in mind that adding
>> flavors would require approval from both the maintainer and portmgr.
> Except anything else that depends on unslaved/unflavored port is likely
> to cause a conflict... until variable dependencies come into play.
Oh yes, I forgot to mention that.
Thanks for filling my omission!
Guido Falsi <mad at madpilot.net>
More information about the freebsd-ports