use ${MAKE:-make} rather than make in einstall() (branches/2.1.2 r7404)
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 07:01:10 +0000 (07:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 07:01:10 +0000 (07:01 -0000)
svn path=/main/branches/2.1.2.9/; revision=7507

bin/ebuild.sh

index 9eb0a4f876474af0a901fb08ce05d4ca3e1e4e32..3697ccbc8136c5350779675247d012d074789a51 100755 (executable)
@@ -609,7 +609,7 @@ einstall() {
 
        if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then
                if [ "${PORTAGE_DEBUG}" == "1" ]; then
-                       make -n prefix="${D}/usr" \
+                       ${MAKE:-make} -n prefix="${D}/usr" \
                                datadir="${D}/usr/share" \
                                infodir="${D}/usr/share/info" \
                                localstatedir="${D}/var/lib" \
@@ -618,7 +618,7 @@ einstall() {
                                ${LOCAL_EXTRA_EINSTALL} \
                                "$@" install
                fi
-               make prefix="${D}/usr" \
+               ${MAKE:-make} prefix="${D}/usr" \
                        datadir="${D}/usr/share" \
                        infodir="${D}/usr/share/info" \
                        localstatedir="${D}/var/lib" \