Fabian Groffen <[email protected]> said:
> On 11-05-2009 11:26:46 +0200, Thilo Bangert wrote:
> > FEATURE-misuse.txt was generated by
> > $ find -name '*.ebuild' | xargs grep -nH FEATURES >
> > FEATURES-misuse.txt and sifting through the false positives.
>
> Have you checked if eclasses use it as well?

nope - thanks for the pointer ;-)

bang...@marsupilami ~/gentoo/portage/eclass $ grep FEATURES *
db.eclass:      if has test $FEATURES; then
eutils.eclass:  has preserve-libs ${FEATURES} && return 0
eutils.eclass:  has preserve-libs ${FEATURES} && return 0
gnatbuild.eclass:               has noinfo ${FEATURES} \
gnatbuild.eclass:               has noman  ${FEATURES} \
java-utils-2.eclass:    if hasq test ${FEATURES} && ! hasq -test 
${FEATURES} \
java-utils-2.eclass:            eerror "You specified FEATURES=test, but 
USE=test is needed"
kmod.eclass:            if [ "${FEATURES/sandbox/}" != "${FEATURES}" ]
mysql.eclass:   if hasq test ${FEATURES} ; then
mysql.eclass:                           eerror "Testing with FEATURES=-
userpriv is no longer supported by upstream. Tests MUST be run as non-
root."
mysql.eclass:   # Check FEATURES="collision-protect" before removing this
myth.eclass:            FEATURES="${FEATURES} nostrip"
selinux-policy-2.eclass:        if has "loadpolicy" $FEATURES ; then
selinux-policy-2.eclass:                einfo "\"loadpolicy\" to the 
FEATURES in make.conf."
selinux-policy.eclass:  if has "loadpolicy" $FEATURES ; then
selinux-policy.eclass:          einfo "\"loadpolicy\" to the FEATURES in 
make.conf."
toolchain-binutils.eclass:      if ! has noinfo ${FEATURES} ; then
toolchain-binutils.eclass:      has noinfo ${FEATURES} && rm -r 
"${D}"/${DATAPATH}/info
toolchain-binutils.eclass:      has noman ${FEATURES} && rm -r 
"${D}"/${DATAPATH}/man
toolchain.eclass:FEATURES=${FEATURES/multilib-strict/}
toolchain.eclass:               eerror "of a multilib gcc.      Please set 
FEATURES=-sandbox and try again."
toolchain.eclass:               die "No 32bit sandbox.  Retry with 
FEATURES=-sandbox."
toolchain.eclass:               has noinfo ${FEATURES} \
toolchain.eclass:               has noman ${FEATURES} \

(the above has been filtered for obvious false positives)

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to