1 |
commit: 46bbe20c98cdf559e95138156a7951fb91cc48ed |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 14 21:30:05 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 14 21:30:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46bbe20c |
7 |
|
8 |
app-crypt/johntheripper: [QA] tc-has-openmp → tc-check-openmp |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild b/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild |
16 |
index 700c4d5a8787..1d4e84fe706c 100644 |
17 |
--- a/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild |
18 |
+++ b/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild |
19 |
@@ -66,10 +66,12 @@ get_target() { |
20 |
fi |
21 |
} |
22 |
|
23 |
+pkg_pretend() { |
24 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
25 |
+} |
26 |
+ |
27 |
pkg_setup() { |
28 |
- if use openmp && [[ ${MERGE_TYPE} != binary ]]; then |
29 |
- tc-has-openmp || die "Please switch to an openmp compatible compiler" |
30 |
- fi |
31 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
32 |
} |
33 |
|
34 |
src_prepare() { |