From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ntCard/
Date: Fri, 9 Feb 2018 23:02:35 +0000 (UTC) [thread overview]
Message-ID: <1518217348.3ea8b67d25a9dc2e67062a3e6556cf881a27225e.mmokrejs@gentoo> (raw)
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[@]}
+}
next reply other threads:[~2018-02-09 23:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-09 23:02 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-06 13:04 [gentoo-commits] proj/sci:master commit in: sci-biology/ntCard/ Andrew Ammerlaan
2018-12-14 0:01 Martin Mokrejs
2018-02-09 22:36 Martin Mokrejs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1518217348.3ea8b67d25a9dc2e67062a3e6556cf881a27225e.mmokrejs@gentoo \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox