1 |
commit: 960d8a87276d41050e18b644d6b4409c23ba2bdc |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 29 16:02:02 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 29 16:03:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960d8a87 |
7 |
|
8 |
sci-mathematics/gmp-ecm: fix openmp check. |
9 |
|
10 |
I screwed up the openmp check during translation from a manual |
11 |
tc-has-openmp() check to tc-check-openmp(). Fixed now, sorry! |
12 |
|
13 |
Closes: https://bugs.gentoo.org/711078 |
14 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
15 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
16 |
|
17 |
sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild | 4 ++-- |
18 |
1 file changed, 2 insertions(+), 2 deletions(-) |
19 |
|
20 |
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 |
21 |
index 98a97183de0..62d2aabe95e 100644 |
22 |
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild |
23 |
+++ b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r2.ebuild |
24 |
@@ -12,7 +12,7 @@ SRC_URI="https://gforge.inria.fr/frs/download.php/file/36224/${P}.tar.gz" |
25 |
LICENSE="GPL-3 LGPL-3" |
26 |
SLOT="0" |
27 |
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos" |
28 |
-IUSE="+custom-tune -openmp static-libs cpu_flags_x86_sse2" |
29 |
+IUSE="+custom-tune openmp static-libs cpu_flags_x86_sse2" |
30 |
|
31 |
DEPEND="dev-libs/gmp:=" |
32 |
RDEPEND="${DEPEND}" |
33 |
@@ -23,7 +23,7 @@ REQUIRED_USE="x86-macos? ( !custom-tune )" |
34 |
S="${WORKDIR}/ecm-${PV}" |
35 |
|
36 |
pkg_pretend() { |
37 |
- tc-check-openmp |
38 |
+ use openmp && tc-check-openmp |
39 |
} |
40 |
|
41 |
src_configure() { |