Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13833 - main/trunk/bin
Date: Fri, 17 Jul 2009 18:44:11
Message-Id: E1MRsLf-0003Hw-94@stork.gentoo.org
Author: zmedico
Date: 2009-07-17 18:39:58 +0000 (Fri, 17 Jul 2009)
New Revision: 13833

Modified:
   main/trunk/bin/ebuild.sh
Log:
For consistency with emake, add ${MAKEOPTS} ${EXTRA_EMAKE} to make arguments
inside einstall. Also, force -j1 in order to override any --jobs settings
from MAKEOPTS. Thanks to Diego Petten?\195?\178 <flameeyes@g.o> for the
suggestion.

Modified: main/trunk/bin/ebuild.sh
===================================================================
--- main/trunk/bin/ebuild.sh	2009-07-16 22:18:45 UTC (rev 13832)
+++ main/trunk/bin/ebuild.sh	2009-07-17 18:39:58 UTC (rev 13833)
@@ -566,6 +566,7 @@
 				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 @@
 			mandir="${D}usr/share/man" \
 			sysconfdir="${D}etc" \
 			${LOCAL_EXTRA_EINSTALL} \
+			${MAKEOPTS} ${EXTRA_EMAKE} -j1 \
 			"$@" install || die "einstall failed"
 	else
 		die "no Makefile found"