diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sci-libs/lis | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-libs/lis')
-rw-r--r-- | sci-libs/lis/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/lis/lis-1.6.5.ebuild | 21 |
2 files changed, 7 insertions, 16 deletions
diff --git a/sci-libs/lis/Manifest b/sci-libs/lis/Manifest index 1a83f9863050..ec1e0937b9da 100644 --- a/sci-libs/lis/Manifest +++ b/sci-libs/lis/Manifest @@ -1,4 +1,4 @@ AUX lis-1.6.2-autotools.patch 14903 BLAKE2B 9e9e0cb511989f3ef1164632bb460fb331ac4a5e11be0d1ae9cf91519107943d1d441008f3d7c2a4f0ad96acb1edc4fbe17f0dd796181f263a43375f5546137c SHA512 a9483fac16ab9b384bb06a80ff11fd6cd717100517d9f9af639cb2984a26774fdfe7233b0eb9b2602a8ba0aaf34969c9fa7267d5f4bbc8e11dc872245c74b389 DIST lis-1.6.5.tar.gz 3130045 BLAKE2B 34627d7e310000a2b3acbbc5f11bd163b682224e42dc521adea318a69587e663e59c8296806f6271e8c39062a16bd6c3c24cda5b183bec41f2aba1be09f77a47 SHA512 0cd2fc445c6464490f01def99960f33bbde53b45b453e289edbc9f31b7a20f00d70538bd3feb03324b56ddbc5993d8ba3bfbc8a0574809be08a854c05c097f13 -EBUILD lis-1.6.5.ebuild 1573 BLAKE2B c5d90167e27cdae9a862824384bf1867d3fe0a2039aa0e2d1d4890e46cb1736a007d2502707b7161d423c4c579bd35f90088a2b0894978a04dfe5b8a984dbb4d SHA512 e6369b183eaea1ff9798255d28fc68703a7240a8c75cec5f5164a5ec375d9131744e5e4db0bef286cc7f9e452d9792df4905d5f2230d70079830213523e349f9 +EBUILD lis-1.6.5.ebuild 1334 BLAKE2B 3513def989910cf23c22e604c00aa04f85d7f209b368f2ab2ae99c8f4157e5313525c2e15beecb74dd40a4dfbfe31a6dcf133d42e23bcc86015da84451a3080c SHA512 f6ba6c86a3e655b56595b263ee95a714879711c2c4582fd1777c320d9cefc492854f7633829e12c56474a8a7e6371131de7bd0e877a795696d9def5c70364525 MISC metadata.xml 696 BLAKE2B 84421b7e9c65c2054f46733ea170e2cda4d7f1d4796431096f972074aee4622ab2a566cd3ae3c4b1dce1cf072532ff793ac37472bde0e6c4604bc4e8bc875f3f SHA512 2a929f38e7a3669aef46eaf086b434c63161126a9335eb1e9b25c91b4ac465e2693bdd778a05c0731a784404e5ede7f8778dc375369ef1c2775388b1b666f75b diff --git a/sci-libs/lis/lis-1.6.5.ebuild b/sci-libs/lis/lis-1.6.5.ebuild index 75c41a7dd9e8..27d638831af1 100644 --- a/sci-libs/lis/lis-1.6.5.ebuild +++ b/sci-libs/lis/lis-1.6.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,21 +19,12 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-1.6.2-autotools.patch ) -pkg_setup() { - 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 - - die "need openmp capable compiler" - fi - FORTRAN_NEED_OPENMP=1 - fi +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp && FORTRAN_NEED_OPENMP=1 use fortran && fortran-2_pkg_setup } |