Date: Tue, 31 Jul 2018 08:34:18 +0800 From: blubee blubeeme <gurenchan@gmail.com> To: Guido Falsi <mad@madpilot.net> Cc: Jan Beich <jbeich@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: setting port options for multiple ports Message-ID: <CALM2mEmmZMMoA_BcOiqJsN0vb88S6uChnsNUCWmC5db=Yhh3FA@mail.gmail.com> In-Reply-To: <407e5007-ab20-5561-e246-058790bedbba@madpilot.net> References: <CALM2mEk8bV9cLUorzh6jJ4Os_g_j=iz6pef5tuaSbxYRD%2BJQAA@mail.gmail.com> <436f5814-9775-98ff-1963-e18c2359bbd4@madpilot.net> <wotc-sgpn-wny@FreeBSD.org> <407e5007-ab20-5561-e246-058790bedbba@madpilot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/31/18, Guido Falsi <mad@madpilot.net> wrote: > On 7/30/18 8:48 PM, Jan Beich wrote: >> Guido Falsi <mad@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@madpilot.net> > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > After thinking about this, implementing something like this will explode in complexity pretty rapidly. The slave ports idea does create install conflicts or bloats a system with prefixed install locations. The port option matrix would be insanely large and require insane amounts of testing to possible get correct. Might as well try to touch the Sun; not saying it's impossible but it's not a task that I want to embark on right now. I'll have to figure out a better way to handle this. Best, Owen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmmZMMoA_BcOiqJsN0vb88S6uChnsNUCWmC5db=Yhh3FA>