diff options
author | 2022-05-14 23:30:05 +0200 | |
---|---|---|
committer | 2022-05-14 23:30:05 +0200 | |
commit | 46bbe20c98cdf559e95138156a7951fb91cc48ed (patch) | |
tree | 7a96fc2a13357b5ca5c798e1108c9cd54587adab /app-crypt/johntheripper | |
parent | app-crypt/johntheripper-jumbo: [QA] tc-has-openmp → tc-check-openmp (diff) | |
download | gentoo-46bbe20c98cdf559e95138156a7951fb91cc48ed.tar.gz gentoo-46bbe20c98cdf559e95138156a7951fb91cc48ed.tar.bz2 gentoo-46bbe20c98cdf559e95138156a7951fb91cc48ed.zip |
app-crypt/johntheripper: [QA] tc-has-openmp → tc-check-openmp
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-crypt/johntheripper')
-rw-r--r-- | app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild b/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild index 700c4d5a8787..1d4e84fe706c 100644 --- a/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild +++ b/app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild @@ -66,10 +66,12 @@ get_target() { fi } +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { - if use openmp && [[ ${MERGE_TYPE} != binary ]]; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_prepare() { |