aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-biology/ntCard/ntCard-1.0.1.ebuild8
-rw-r--r--sci-biology/ntCard/ntCard-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/sci-biology/ntCard/ntCard-1.0.1.ebuild b/sci-biology/ntCard/ntCard-1.0.1.ebuild
index 1447072..29c3674 100644
--- a/sci-biology/ntCard/ntCard-1.0.1.ebuild
+++ b/sci-biology/ntCard/ntCard-1.0.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/bcgsc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="openmp"
DEPEND=""
RDEPEND="${DEPEND}"
@@ -21,3 +21,9 @@ src_prepare(){
sh ./autogen.sh || die
default
}
+
+src_configure() {
+ local myconf=()
+ use openmp || myconf+=( --disable-openmp )
+ econf ${myconf[@]}
+}
diff --git a/sci-biology/ntCard/ntCard-9999.ebuild b/sci-biology/ntCard/ntCard-9999.ebuild
index 15b29ff..e6dff7d 100644
--- a/sci-biology/ntCard/ntCard-9999.ebuild
+++ b/sci-biology/ntCard/ntCard-9999.ebuild
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/bcgsc/ntCard.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="openmp"
DEPEND=""
RDEPEND="${DEPEND}"
@@ -21,3 +21,9 @@ src_prepare(){
sh ./autogen.sh || die
default
}
+
+src_configure() {
+ local myconf=()
+ use openmp || myconf+=( --disable-openmp )
+ econf ${myconf[@]}
+}