summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2017-04-14 13:12:06 +0200
committerJustin Lecher <jlec@gentoo.org>2017-04-22 17:09:51 +0100
commit3f6724509641d050ff8b5ac4396c2195e0a142d7 (patch)
tree6e61ba217e66eacaa602615dec52637f56bdceb6 /sci-biology/velvet
parentsci-biology/velvet: simplify tests in ebuild (diff)
downloadgentoo-3f6724509641d050ff8b5ac4396c2195e0a142d7.tar.gz
gentoo-3f6724509641d050ff8b5ac4396c2195e0a142d7.tar.bz2
gentoo-3f6724509641d050ff8b5ac4396c2195e0a142d7.zip
sci-biology/velvet: v3 expose additional variables as described in manual
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>
Diffstat (limited to 'sci-biology/velvet')
-rw-r--r--sci-biology/velvet/velvet-1.2.10.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild b/sci-biology/velvet/velvet-1.2.10.ebuild
index 31560aee1886..645f9fe67d0d 100644
--- a/sci-biology/velvet/velvet-1.2.10.ebuild
+++ b/sci-biology/velvet/velvet-1.2.10.ebuild
@@ -54,10 +54,10 @@ src_prepare() {
OPT="${CFLAGS}"
)
use openmp && MAKE_XOPTS+=( OPENMP=1 )
- test "${VELVET_MAXKMERLENGTH}" != "" && MAKE_XOPTS+=( MAXKMERLENGTH=${VELVET_MAXKMERLENGTH} )
- test "${VELVET_CATEGORIES}" != "" && MAKE_XOPTS+=( CATEGORIES=${VELVET_CATEGORIES} )
- test "${VELVET_BIGASSEMBLY}" != "" && MAKE_XOPTS+=( BIGASSEMBLY=${VELVET_BIGASSEMBLY} )
- test "${VELVET_LONGSEQUENCES}" != "" && MAKE_XOPTS+=( LONGSEQUENCES=${VELVET_LONGSEQUENCES} )
+ [[ ! -z "${VELVET_MAXKMERLENGTH}" ]] && MAKE_XOPTS+=( MAXKMERLENGTH=${VELVET_MAXKMERLENGTH} )
+ [[ ! -z "${VELVET_CATEGORIES}" ]] && MAKE_XOPTS+=( CATEGORIES=${VELVET_CATEGORIES} )
+ [[ ! -z "${VELVET_BIGASSEMBLY}" ]] && MAKE_XOPTS+=( BIGASSEMBLY=${VELVET_BIGASSEMBLY} )
+ [[ ! -z "${VELVET_LONGSEQUENCES}" ]] && MAKE_XOPTS+=( LONGSEQUENCES=${VELVET_LONGSEQUENCES} )
}
src_compile() {