summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-helpers/prepman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild-helpers/prepman')
-rwxr-xr-xbin/ebuild-helpers/prepman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/prepman b/bin/ebuild-helpers/prepman
index 8ea7607df..18c0f992a 100755
--- a/bin/ebuild-helpers/prepman
+++ b/bin/ebuild-helpers/prepman
@@ -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 [[ -z $1 ]] ; then
mandir="${ED}usr/share/man"