summaryrefslogtreecommitdiffstats
path: root/bin/phase-functions.sh
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-11-07 07:27:23 -0800
committerZac Medico <zmedico@gentoo.org>2011-11-07 07:27:23 -0800
commita0961708ced50c90497811058eda6f4513d2986d (patch)
treecd361391a487292dbcd2c7f31d314f7bc698ad66 /bin/phase-functions.sh
parentc17d8dabe4c64fc4ed87ac9a0637f8ccc9341823 (diff)
downloadportage-a0961708ced50c90497811058eda6f4513d2986d.tar.gz
portage-a0961708ced50c90497811058eda6f4513d2986d.tar.bz2
portage-a0961708ced50c90497811058eda6f4513d2986d.zip
REQUIRED_USE: don't save in built packages
It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
Diffstat (limited to 'bin/phase-functions.sh')
-rw-r--r--bin/phase-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh
index ea3f8a6ae..f46368d68 100644
--- a/bin/phase-functions.sh
+++ b/bin/phase-functions.sh
@@ -540,7 +540,7 @@ dyn_install() {
set -f
local f x
IFS=$' \t\n\r'
- for f in CATEGORY DEFINED_PHASES FEATURES INHERITED IUSE REQUIRED_USE \
+ for f in CATEGORY DEFINED_PHASES FEATURES INHERITED IUSE \
PF PKGUSE SLOT KEYWORDS HOMEPAGE DESCRIPTION ; do
x=$(echo -n ${!f})
[[ -n $x ]] && echo "$x" > $f