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-chemistry/tinker/tinker-8.2.1.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sci-chemistry/tinker/tinker-8.2.1.ebuild')
-rw-r--r-- | sci-chemistry/tinker/tinker-8.2.1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-chemistry/tinker/tinker-8.2.1.ebuild b/sci-chemistry/tinker/tinker-8.2.1.ebuild index bef87a09bfaa..a54f1ecb210d 100644 --- a/sci-chemistry/tinker/tinker-8.2.1.ebuild +++ b/sci-chemistry/tinker/tinker-8.2.1.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=6 @@ -31,10 +31,15 @@ RESTRICT="mirror" S="${WORKDIR}"/${PN}/source +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp +} + pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp + fortran-2_pkg_setup java-pkg-opt-2_pkg_setup - tc-has-openmp || die "Please use an openmp capable compiler like gcc[openmp]" } src_prepare() { |