Date: Tue, 17 Jun 2014 00:54:09 +1000 From: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> To: freebsd-ports@freebsd.org Subject: Re: How to pick up options from another ("master") port, but don't show "config" dialog at all and have defaults in case of absence of "master" port options file? Message-ID: <539F0511.3080409@heuristicsystems.com.au> In-Reply-To: <539F00BC.8050604@sorbs.net> References: <661714484.20140616162734@serebryakov.spb.ru> <539EF3E6.4050502@sorbs.net> <1011094695.20140616183233@serebryakov.spb.ru> <539F00BC.8050604@sorbs.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17/06/2014 12:35 AM, Michelle Sullivan wrote: > Lev Serebryakov wrote: >> Hello, Michelle. >> You wrote 16 июня 2014 г., 17:40:54: >> >> >>>> I want some "dependant" ports to pick-up options set in "main" port, but >>>> never ever show "config" dialog/UI. I've tried to set >>>> OPTIONS_NAME=cat_port, and it set OPTIONS_FILE_SET and OPTIONS_FILE_UNSET >>>> variables, but not PORT_OPTIONS variable, as this exact ("dependant") port >>>> doesn't have OPTIONS_DEFINE (of course). >>>> >>>> What is proper way to use options in this situation? OPTIONS_SLAVE doesn't >>>> look right, as it override options file. I need something like >>>> OPTIONS_SLAVE_DEFAULT, which will work as OPTIONS_SLAVE if here is no >>>> ${OPTIONS_FILE} and could be overridden by ${OPTIONS_FILE}, if it is >>>> present. >>>> >>>> >>>> >> MS> Have a look at editors/pico-alpine and mail/alpine that does exactly >> MS> what you're asking I think. >> Nope. "make config" in "editoris/pico-alpine" shows dialog. I don't want >> it at all. >> >> >> > Yes but that option set is different from that in alpine ... OPTIONS= > will clear any options (or just remove the options in that port) > > Michelle > > make -DBATCH will eliminate the need for dialogue. Though you will need to set your options, we use /usr/ports/devel/pkgconf extensively to set configuration options.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539F0511.3080409>