commit: 3ea8b67d25a9dc2e67062a3e6556cf881a27225e Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Fri Feb 9 23:02:28 2018 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Fri Feb 9 23:02:28 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3ea8b67d
sci-biology/ntCard: Add IUSE=openmp so one can disable OpenMP Package-Manager: Portage-2.3.23, Repoman-2.3.6 sci-biology/ntCard/ntCard-1.0.1.ebuild | 8 +++++++- sci-biology/ntCard/ntCard-9999.ebuild | 8 +++++++- 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 14470723a..29c36746b 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 15b29ff93..e6dff7db4 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[@]} +}
