Removal of RC_SUBR and RC_SUBR_SUFFIX
Doug Barton
dougb at FreeBSD.org
Mon Apr 12 03:25:10 UTC 2010
On Mon, 29 Mar 2010, Christian Weisgerber wrote:
> Doug Barton <dougb at freebsd.org> wrote:
>
>> As should be obvious by now I'm following through on my previously
>> stated plans to remove the no longer necessary %%RC_SUBR%% and
>> %%RC_SUBR_SUFFIX%% from the ports tree.
>
> Does it still make sense to use
>
> rcvar=`set_rcvar`
>
> as recommended by rc.subr(8) or should we just use
>
> rcvar=${name}_enable
>
> as shown in the Porter's Handbook example?
Either one is fine. I've always regarded set_rcvar as a little bit too
much abstraction, but that doesn't mean it's "wrong" to use it.
Doug
--
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
Computers are useless. They can only give you answers.
-- Pablo Picasso
More information about the freebsd-ports
mailing list