For consistency with emake, add ${MAKEOPTS} ${EXTRA_EMAKE} to make arguments
authorZac Medico <zmedico@gentoo.org>
Fri, 17 Jul 2009 18:39:58 +0000 (18:39 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 17 Jul 2009 18:39:58 +0000 (18:39 -0000)
inside einstall. Also, force -j1 in order to override any --jobs settings
from MAKEOPTS. Thanks to Diego Pettenò <flameeyes@gentoo.org> for the
suggestion.

svn path=/main/trunk/; revision=13833

bin/ebuild.sh

index f80312a832175d726c04f8c32e9f2a1c88de67cb..a20f8d4c9367c500b672ff4c8223e7662f27deca 100755 (executable)
@@ -566,6 +566,7 @@ einstall() {
                                mandir="${D}usr/share/man" \
                                sysconfdir="${D}etc" \
                                ${LOCAL_EXTRA_EINSTALL} \
+                               ${MAKEOPTS} ${EXTRA_EMAKE} -j1 \
                                "$@" install
                fi
                ${MAKE:-make} prefix="${D}usr" \
@@ -575,6 +576,7 @@ einstall() {
                        mandir="${D}usr/share/man" \
                        sysconfdir="${D}etc" \
                        ${LOCAL_EXTRA_EINSTALL} \
+                       ${MAKEOPTS} ${EXTRA_EMAKE} -j1 \
                        "$@" install || die "einstall failed"
        else
                die "no Makefile found"