diff options
Diffstat (limited to 'app-crypt/johntheripper/johntheripper-1.8.0-r1.ebuild')
-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() { |