commit:     4607de10af1d1389884d38ffdaad0c24baa8a0db
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Apr 15 11:22:35 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 16:09:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4607de10

sci-biology/velvet: v4 expose additional variables as described in manual

Also move the -j1 argument values onto the emake line directly.

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4421

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-biology/velvet/velvet-1.2.10.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild 
b/sci-biology/velvet/velvet-1.2.10.ebuild
index 645f9fe67d0..d5a93f2f3e4 100644
--- a/sci-biology/velvet/velvet-1.2.10.ebuild
+++ b/sci-biology/velvet/velvet-1.2.10.ebuild
@@ -34,7 +34,6 @@ src_prepare() {
        elog "Set them either in your environment or in /etc/portage/make.conf, 
then re-emerge"
        elog "the package. For example:"
        elog "  VELVET_MAXKMERLENGTH=NN emerge [options] velvet"
-       MAKEOPTS+=" -j1"
 
        if [[ $(tc-getCC) =~ gcc ]]; then
                local eopenmp=-fopenmp
@@ -61,12 +60,12 @@ src_prepare() {
 }
 
 src_compile() {
-       emake "${MAKE_XOPTS[@]}"
-       emake "${MAKE_XOPTS[@]}" color
+       emake "${MAKE_XOPTS[@]}" -j1
+       emake "${MAKE_XOPTS[@]}" -j1 color
 }
 
 src_test() {
-       emake "${MAKE_XOPTS[@]}" test
+       emake "${MAKE_XOPTS[@]}" -j1 test
 }
 
 src_install() {

Reply via email to