commit: 70d003c62bd0ba9a96609f2522a6854d99ba4148
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 08:12:13 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon May 16 08:12:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d003c6
sci-biology/seqan: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-biology/seqan/seqan-2.4.0-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-biology/seqan/seqan-2.4.0-r1.ebuild
b/sci-biology/seqan/seqan-2.4.0-r1.ebuild
index 76a73d759bef..933b55e04eab 100644
--- a/sci-biology/seqan/seqan-2.4.0-r1.ebuild
+++ b/sci-biology/seqan/seqan-2.4.0-r1.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
@@ -37,6 +37,10 @@ PATCHES=(
"${FILESDIR}"/${P}-cmake-add_library-static.patch
)
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use tools && tc-check-openmp
+}
+
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]]; then
use tools && tc-check-openmp