use ${MAKE:-make} rather than make in einstall()
authorMike Frysinger <vapier@gentoo.org>
Wed, 25 Jul 2007 15:09:04 +0000 (15:09 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 25 Jul 2007 15:09:04 +0000 (15:09 -0000)
svn path=/main/trunk/; revision=7396

bin/ebuild.sh

index 72b449927ff3431274dae953fe0945e708b7d206..f0667fda66678ab278fd493fb4851e1fc2270f25 100755 (executable)
@@ -534,7 +534,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" \
@@ -543,7 +543,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" \