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@gentoo.org>
This commit is contained in:
Martin Mokrejš
2017-04-15 13:22:35 +02:00
committed by Justin Lecher
parent 3f67245096
commit 4607de10af

View File

@@ -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() {