diff options
author | Sam James <sam@gentoo.org> | 2021-04-27 21:07:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-04 20:22:43 +0100 |
commit | 2f38496362104d625261ef1ef869dd2dc58965e6 (patch) | |
tree | a1fb90512d7c71dd6630681642c615672d1f8cf2 /sci-libs/fflas-ffpack | |
parent | sci-libs/tensorflow: fix function/phase declaration style (diff) | |
download | gentoo-2f38496362104d625261ef1ef869dd2dc58965e6.tar.gz gentoo-2f38496362104d625261ef1ef869dd2dc58965e6.tar.bz2 gentoo-2f38496362104d625261ef1ef869dd2dc58965e6.zip |
sci-libs/fflas-ffpack: improve openmp check
Use both pkg_pretend and pkg_setup as everybody else does.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/fflas-ffpack')
-rw-r--r-- | sci-libs/fflas-ffpack/fflas-ffpack-2.4.3.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3.ebuild b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3.ebuild index 3c50f264cfd4..dd595ce5962b 100644 --- a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3.ebuild +++ b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3.ebuild @@ -26,7 +26,11 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-2.3.2-blaslapack.patch" ) pkg_pretend() { - [[ "${MERGE_TYPE}" != "binary" ]] && use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } pkg_setup() { |