Subject: Re: Pending perl changes
To: Johnny C. Lam <jlam@netbsd.org>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 07/15/2005 11:31:47
hi,
The computation if threads should be used by default should not be
done in a user settable variable (PERL5_USE_THREADS), especilly if it
will be deprecated. Simply set PKG_SUGGESTED_OPTIONS accordingly.
: +.if !empty(PERL5_USE_THREADS:M[yY][eE][sS])
: +PKG_SUGGESTED_OPTIONS= threads
: +.endif
Use
PKG_OPTIONS_LEGAY_VARS+=PERL5_USE_THREADS:threads
instead. PKG_SUGGESTED_OPTIONS should only contain the options enabled by
default and should not be influenced by user settings. Options
enabled due to legay variables should go into PKG_LEGACY_OPTIONS and
emit a warning, both of which PKG_OPTIONS_LEGACY_VARS does.
yours,
dillo