diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-02-14 00:09:55 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-02-14 00:09:55 +0000 |
commit | dfb82bbba163850b442cf0f302345827a7d38378 (patch) | |
tree | 0a762c745366be90654bb3a2a3f0d16b5a5d723f | |
parent | 9e8509b3f92872a73627118a693a81977208cd79 (diff) | |
download | portage-dfb82bbba163850b442cf0f302345827a7d38378.tar.gz portage-dfb82bbba163850b442cf0f302345827a7d38378.tar.bz2 portage-dfb82bbba163850b442cf0f302345827a7d38378.zip |
After src_install, save fewer variables when writing the vdb entry for a
virtual package.
svn path=/main/trunk/; revision=15349
-rwxr-xr-x | bin/ebuild.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index f6138e28b..60c8f5e22 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1081,13 +1081,19 @@ dyn_install() { set -f local f x IFS=$' \t\n\r' - for f in ASFLAGS CATEGORY CBUILD CC CFLAGS CHOST CTARGET CXX \ - CXXFLAGS DEFINED_PHASES EXTRA_ECONF EXTRA_EINSTALL EXTRA_MAKE \ - FEATURES INHERITED IUSE LDFLAGS LIBCFLAGS LIBCXXFLAGS \ + 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 done + if [[ $CATEGORY != virtual ]] ; then + for f in ASFLAGS CBUILD CC CFLAGS CHOST CTARGET CXX \ + CXXFLAGS EXTRA_ECONF EXTRA_EINSTALL EXTRA_MAKE \ + LDFLAGS LIBCFLAGS LIBCXXFLAGS ; do + x=$(echo -n ${!f}) + [[ -n $x ]] && echo "$x" > $f + done + fi echo "${USE}" > USE echo "${EAPI:-0}" > EAPI set +f |