commit:     960d8a87276d41050e18b644d6b4409c23ba2bdc
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 29 16:02:02 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sat Feb 29 16:03:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960d8a87

sci-mathematics/gmp-ecm: fix openmp check.

I screwed up the openmp check during translation from a manual
tc-has-openmp() check to tc-check-openmp(). Fixed now, sorry!

Closes: https://bugs.gentoo.org/711078
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild 
b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild
index 98a97183de0..62d2aabe95e 100644
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://gforge.inria.fr/frs/download.php/file/36224/${P}.tar.gz";
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="+custom-tune -openmp static-libs cpu_flags_x86_sse2"
+IUSE="+custom-tune openmp static-libs cpu_flags_x86_sse2"
 
 DEPEND="dev-libs/gmp:="
 RDEPEND="${DEPEND}"
@@ -23,7 +23,7 @@ REQUIRED_USE="x86-macos? ( !custom-tune )"
 S="${WORKDIR}/ecm-${PV}"
 
 pkg_pretend() {
-       tc-check-openmp
+       use openmp && tc-check-openmp
 }
 
 src_configure() {

Reply via email to