1 |
Fabian Groffen <grobian@g.o> said: |
2 |
> On 11-05-2009 11:26:46 +0200, Thilo Bangert wrote: |
3 |
> > FEATURE-misuse.txt was generated by |
4 |
> > $ find -name '*.ebuild' | xargs grep -nH FEATURES > |
5 |
> > FEATURES-misuse.txt and sifting through the false positives. |
6 |
> |
7 |
> Have you checked if eclasses use it as well? |
8 |
|
9 |
nope - thanks for the pointer ;-) |
10 |
|
11 |
bangert@marsupilami ~/gentoo/portage/eclass $ grep FEATURES * |
12 |
db.eclass: if has test $FEATURES; then |
13 |
eutils.eclass: has preserve-libs ${FEATURES} && return 0 |
14 |
eutils.eclass: has preserve-libs ${FEATURES} && return 0 |
15 |
gnatbuild.eclass: has noinfo ${FEATURES} \ |
16 |
gnatbuild.eclass: has noman ${FEATURES} \ |
17 |
java-utils-2.eclass: if hasq test ${FEATURES} && ! hasq -test |
18 |
${FEATURES} \ |
19 |
java-utils-2.eclass: eerror "You specified FEATURES=test, but |
20 |
USE=test is needed" |
21 |
kmod.eclass: if [ "${FEATURES/sandbox/}" != "${FEATURES}" ] |
22 |
mysql.eclass: if hasq test ${FEATURES} ; then |
23 |
mysql.eclass: eerror "Testing with FEATURES=- |
24 |
userpriv is no longer supported by upstream. Tests MUST be run as non- |
25 |
root." |
26 |
mysql.eclass: # Check FEATURES="collision-protect" before removing this |
27 |
myth.eclass: FEATURES="${FEATURES} nostrip" |
28 |
selinux-policy-2.eclass: if has "loadpolicy" $FEATURES ; then |
29 |
selinux-policy-2.eclass: einfo "\"loadpolicy\" to the |
30 |
FEATURES in make.conf." |
31 |
selinux-policy.eclass: if has "loadpolicy" $FEATURES ; then |
32 |
selinux-policy.eclass: einfo "\"loadpolicy\" to the FEATURES in |
33 |
make.conf." |
34 |
toolchain-binutils.eclass: if ! has noinfo ${FEATURES} ; then |
35 |
toolchain-binutils.eclass: has noinfo ${FEATURES} && rm -r |
36 |
"${D}"/${DATAPATH}/info |
37 |
toolchain-binutils.eclass: has noman ${FEATURES} && rm -r |
38 |
"${D}"/${DATAPATH}/man |
39 |
toolchain.eclass:FEATURES=${FEATURES/multilib-strict/} |
40 |
toolchain.eclass: eerror "of a multilib gcc. Please set |
41 |
FEATURES=-sandbox and try again." |
42 |
toolchain.eclass: die "No 32bit sandbox. Retry with |
43 |
FEATURES=-sandbox." |
44 |
toolchain.eclass: has noinfo ${FEATURES} \ |
45 |
toolchain.eclass: has noman ${FEATURES} \ |
46 |
|
47 |
(the above has been filtered for obvious false positives) |