diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-22 02:18:51 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-22 02:21:56 +0200 |
commit | dd68af9139cfb2a6c0a5a1df730c480b6f8197f8 (patch) | |
tree | c6f643f6a9b620df8a5b379a65f782d51aac64ab /sci-libs/fftw/fftw-9999.ebuild | |
parent | dev-lang/python: bump to 2.7.12 (diff) | |
download | gentoo-dd68af9139cfb2a6c0a5a1df730c480b6f8197f8.tar.gz gentoo-dd68af9139cfb2a6c0a5a1df730c480b6f8197f8.tar.bz2 gentoo-dd68af9139cfb2a6c0a5a1df730c480b6f8197f8.zip |
sci-libs/fftw: Don't check for openmp toolchain when installing a binpkg.
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sci-libs/fftw/fftw-9999.ebuild')
-rw-r--r-- | sci-libs/fftw/fftw-9999.ebuild | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild index 1b2fc028af04..ec07ce4c95d3 100644 --- a/sci-libs/fftw/fftw-9999.ebuild +++ b/sci-libs/fftw/fftw-9999.ebuild @@ -38,9 +38,7 @@ MULTILIB_WRAPPED_HEADERS=( ) pkg_setup() { - # XXX: this looks like it should be used with BUILD_TYPE!=binary - - if use openmp; then + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then ewarn "OpenMP is not available in your current selected gcc" die "need openmp capable gcc" |