From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D352A1382C5 for ; Fri, 9 Feb 2018 23:02:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D7B0E09D0; Fri, 9 Feb 2018 23:02:39 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19D56E09D0 for ; Fri, 9 Feb 2018 23:02:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C36E8335C51 for ; Fri, 9 Feb 2018 23:02:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15EB41CD for ; Fri, 9 Feb 2018 23:02:35 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: <1518217348.3ea8b67d25a9dc2e67062a3e6556cf881a27225e.mmokrejs@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ntCard/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/ntCard/ntCard-1.0.1.ebuild sci-biology/ntCard/ntCard-9999.ebuild X-VCS-Directories: sci-biology/ntCard/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: 3ea8b67d25a9dc2e67062a3e6556cf881a27225e X-VCS-Branch: master Date: Fri, 9 Feb 2018 23:02:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e7506dbe-850b-4a3d-a762-14d0415dd043 X-Archives-Hash: 0a4f657937be1a5f2d071ef7d7bb90f7 commit: 3ea8b67d25a9dc2e67062a3e6556cf881a27225e Author: Martin Mokrejš fold natur cuni cz> AuthorDate: Fri Feb 9 23:02:28 2018 +0000 Commit: Martin Mokrejs fold natur cuni 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[@]} +}