commit: 05f13955c6ce57de4194483c2e1e15744d02cf5d
Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
AuthorDate: Sat Oct 10 17:50:43 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Oct 10 17:50:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=05f13955
sci-biology/bowtie: Use 'usex' instead of defining TBB variable.
sci-biology/bowtie/bowtie-1.1.2.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/sci-biology/bowtie/bowtie-1.1.2.ebuild
b/sci-biology/bowtie/bowtie-1.1.2.ebuild
index e443686..1988f6b 100644
--- a/sci-biology/bowtie/bowtie-1.1.2.ebuild
+++ b/sci-biology/bowtie/bowtie-1.1.2.ebuild
@@ -32,12 +32,6 @@ src_prepare() {
}
src_compile() {
- if use tbb ; then
- TBB="1"
- else
- TBB="0"
- fi
-
emake \
CC="$(tc-getCC)" \
CPP="$(tc-getCXX)" \
@@ -45,7 +39,7 @@ src_compile() {
CXXFLAGS="" \
EXTRA_FLAGS="${LDFLAGS}" \
RELEASE_FLAGS="${CXXFLAGS}" \
- WITH_TBB="${TBB}"
+ WITH_TBB="$(usex tbb 1 0)"
}
src_install() {