Dealing with options in dependent ports
Paul Schmehl
pschmehl_lists at tx.rr.com
Fri Nov 30 17:07:54 UTC 2012
--On November 30, 2012 4:47:40 PM +0100 Thierry Thomas
<thierry at FreeBSD.org> wrote:
> Hello,
>
> Le ven 30 nov 12 à 16:36:32 +0100, Paul Schmehl
> <pschmehl_lists at tx.rr.com> écrivait :
>> I'm working on a port that has an option for a build_depends on another
>> port. If that option is selected, the dependent port MUST be built with
>> an option that is not selected by default.
>>
>> Is there a way to either force that option to be selected in the
>> dependent port? Or, failing that, is it possible to pop up a message
>> warning the installer that they must select that option before building
>> the dependent port or, if they've already installed it without the
>> option, they must deinstall and reinstall after selecting that option?
>>
>
> I'd suggest to make a slave port where you force the required option.
> However, to enforce the right dependency, this option have to produce a
> different plist.
Thanks. I think that's probably the right answer.
--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell
More information about the freebsd-ports
mailing list