summaryrefslogtreecommitdiff
path: root/sci-libs/nfft
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-libs/nfft
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-libs/nfft')
-rw-r--r--sci-libs/nfft/Manifest2
-rw-r--r--sci-libs/nfft/nfft-3.5.2.ebuild17
2 files changed, 6 insertions, 13 deletions
diff --git a/sci-libs/nfft/Manifest b/sci-libs/nfft/Manifest
index 4feae49ae8ce..85a0f6095455 100644
--- a/sci-libs/nfft/Manifest
+++ b/sci-libs/nfft/Manifest
@@ -1,3 +1,3 @@
DIST nfft-3.5.2.tar.gz 5377870 BLAKE2B 5a9b79fd2db781f163f3e694e25096f9abfac67ae9e2f0614444e99160ac6ce150356b72130ba44f82c541120f8876723a06e989a5c125e1da1b85976b7ff500 SHA512 e5437b358f22807de2251527025accf326d77322e029cfc3df6ee733ccca4d020cbd3c045773735de0641618c71e5cc9b8f4df53becea3b7a7e27750f21fa64e
-EBUILD nfft-3.5.2.ebuild 1156 BLAKE2B 05598b4f826a66a98ad47833f50068b2f1d77b9203db8dc1abe44e4e0f0a08b1d39085916a0101bcd072a61376231802367f09259b76812ddca1a9cbd8bb7d89 SHA512 93b8eddfd7c41e50f2c4c1b373b486ea886dd8820ceb733f38230bfb9a0cc8388209cb1eeeac86dfb083ab4dcd5f80ec0c972b1528a491c6918e4312a7531891
+EBUILD nfft-3.5.2.ebuild 915 BLAKE2B 19b9331a9c96181bad3edaf92bdca7b1526f7b3f4df0018e25a8096bf9a1f6b3e66bc666394e9a1c848e1c4d87f04de42376da83958c79cd19ffc9c4abd61e6c SHA512 0d9e0aee237dad6bac189e0223c6895c091f8cb02e158689f619c93cd0e3f055f5c99c8ad7c652bc1f135d1a0917f2f8477d688068972911aa4b9bbdd1c04a43
MISC metadata.xml 442 BLAKE2B 8326c9a95fc8c57e5f09c401e93e7d5576795d99b348e0fa51d25ca043912c50605655097ce9dc9ea7bf8c6de06b76df05863d30213923bb62ec20f8d7714ace SHA512 0794e58e77382ff8dd951a663a862190b2a0b8fccf12389b46ae181aefd536402bff7d013e09ddc97d210aefbf8e08603acb8e22677b832474a9f62d6fe593e0
diff --git a/sci-libs/nfft/nfft-3.5.2.ebuild b/sci-libs/nfft/nfft-3.5.2.ebuild
index f0ea656c7539..066540701d6c 100644
--- a/sci-libs/nfft/nfft-3.5.2.ebuild
+++ b/sci-libs/nfft/nfft-3.5.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,18 +18,11 @@ RDEPEND="sci-libs/fftw:3.0[threads,openmp?]"
DEPEND="${RDEPEND}"
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]] && use openmp; then
- if ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected compiler"
-
- if tc-is-clang; then
- ewarn "OpenMP support in sys-devel/clang is provided by sys-libs/libomp,"
- ewarn "which you will need to build ${CATEGORY}/${PN} with USE=\"openmp\""
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
- die "need openmp capable compiler"
- fi
- fi
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_configure() {