summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-19 04:09:20 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-19 04:09:20 +0000
commita71e316d12be0ad5d28d193f4f9954194f8b6665 (patch)
treed9e18f53d0a04f313184aa99e6720dec5a92e810
parenta97d1cc4a60bf137ec445b87f90ed9a8bff5ed5f (diff)
downloadportage-a71e316d12be0ad5d28d193f4f9954194f8b6665.tar.gz
portage-a71e316d12be0ad5d28d193f4f9954194f8b6665.tar.bz2
portage-a71e316d12be0ad5d28d193f4f9954194f8b6665.zip
fix from James C. Georgas to not modify EXTRA_EINSTALL #178544
svn path=/main/trunk/; revision=6553
-rwxr-xr-xbin/ebuild.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 6fc32bb64..cba4997d5 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -509,6 +509,7 @@ econf() {
einstall() {
# CONF_PREFIX is only set if they didn't pass in libdir above.
+ local LOCAL_EXTRA_EINSTALL="${EXTRA_EINSTALL}"
LIBDIR_VAR="LIBDIR_${ABI}"
if [ -n "${ABI}" -a -n "${!LIBDIR_VAR}" ]; then
CONF_LIBDIR="${!LIBDIR_VAR}"
@@ -517,7 +518,7 @@ einstall() {
if [ -n "${CONF_LIBDIR}" ] && [ "${CONF_PREFIX:-unset}" != "unset" ]; then
EI_DESTLIBDIR="${D}/${CONF_PREFIX}/${CONF_LIBDIR}"
EI_DESTLIBDIR="$(strip_duplicate_slashes ${EI_DESTLIBDIR})"
- EXTRA_EINSTALL="libdir=${EI_DESTLIBDIR} ${EXTRA_EINSTALL}"
+ LOCAL_EXTRA_EINSTALL="libdir=${EI_DESTLIBDIR} ${LOCAL_EXTRA_EINSTALL}"
unset EI_DESTLIBDIR
fi
@@ -529,7 +530,7 @@ einstall() {
localstatedir="${D}/var/lib" \
mandir="${D}/usr/share/man" \
sysconfdir="${D}/etc" \
- ${EXTRA_EINSTALL} \
+ ${LOCAL_EXTRA_EINSTALL} \
"$@" install
fi
make prefix="${D}/usr" \
@@ -538,7 +539,7 @@ einstall() {
localstatedir="${D}/var/lib" \
mandir="${D}/usr/share/man" \
sysconfdir="${D}/etc" \
- ${EXTRA_EINSTALL} \
+ ${LOCAL_EXTRA_EINSTALL} \
"$@" install || die "einstall failed"
else
die "no Makefile found"