use ${MAKE:-make} rather than make in einstall() (trunk r7396)
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Jul 2007 18:34:54 +0000 (18:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Jul 2007 18:34:54 +0000 (18:34 -0000)
svn path=/main/branches/2.1.2/; revision=7404

bin/ebuild.sh

index 0e50cdb63121438b2875d7a950fff3a21924ca86..4da75c6569ac1c55ec956d2a464f961a2fa0a141 100755 (executable)
@@ -614,7 +614,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" \
@@ -623,7 +623,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" \