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