summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 4d117f65e..014229446 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -2164,7 +2164,11 @@ ebuild_main() {
#the extra $(echo) commands remove newlines
[ -n "${EAPI}" ] || EAPI=0
- local eapi=$EAPI
+ case "$EAPI" in
+ 0|1|2|3)
+ unset REQUIRED_USE
+ ;;
+ esac
if [ -n "${dbkey}" ] ; then
> "${dbkey}"