Fix einstall() change from previous commit, for compatibility with empty
authorZac Medico <zmedico@gentoo.org>
Sun, 18 Oct 2009 03:56:59 +0000 (03:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 18 Oct 2009 03:56:59 +0000 (03:56 -0000)
but set CONF_PREFIX. Thanks to Jonathan Callen <abcd@g.o> for reporting.
(trunk r14622)

svn path=/main/branches/2.1.7/; revision=14650

bin/ebuild.sh

index 4ce1eba554c14dc7b96df797d5f2a4d8b8405c46..e7236a0c14eaacf5d8df53adf849aebe75dd3ae3 100755 (executable)
@@ -565,7 +565,7 @@ einstall() {
                CONF_LIBDIR="${!LIBDIR_VAR}"
        fi
        unset LIBDIR_VAR
-       if [ -n "${CONF_LIBDIR}" ] && [ "${CONF_PREFIX+set}" = set ]; then
+       if [ -n "${CONF_LIBDIR}" ] && [ "${CONF_PREFIX:+set}" = set ]; then
                EI_DESTLIBDIR="${D}/${CONF_PREFIX}/${CONF_LIBDIR}"
                EI_DESTLIBDIR="$(strip_duplicate_slashes ${EI_DESTLIBDIR})"
                LOCAL_EXTRA_EINSTALL="libdir=${EI_DESTLIBDIR} ${LOCAL_EXTRA_EINSTALL}"