aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2018-02-10 00:02:28 +0100
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2018-02-10 00:02:28 +0100
commit3ea8b67d25a9dc2e67062a3e6556cf881a27225e (patch)
treed8841600eee74baee496c5a3d6a71a4c84a0f835
parentsci-biology/ntCard: new package (diff)
downloadsci-master.zip
sci-master.tar.gz
sci-master.tar.bz2
sci-biology/ntCard: Add IUSE=openmp so one can disable OpenMPHEADmaster
Package-Manager: Portage-2.3.23, Repoman-2.3.6
-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[@]}
+}