summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepall
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/prepall')
-rwxr-xr-xbin/ebuild-helpers/prepall3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepall b/bin/ebuild-helpers/prepall
index 611c4ce79..512feb33a 100755
--- a/bin/ebuild-helpers/prepall
+++ b/bin/ebuild-helpers/prepall
@@ -4,7 +4,8 @@
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
-case "$EAPI" in 0|1|2) ED=${D} ;; esac
+[[ " ${USE} " == *" prefix "* ]] || \
+ case "$EAPI" in 0|1|2) ED=${D} ;; esac
if has chflags $FEATURES ; then
# Save all the file flags for restoration at the end of prepall.