summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-05-16 10:12:13 +0200
committerDavid Seifert <soap@gentoo.org>2022-05-16 10:12:13 +0200
commit70d003c62bd0ba9a96609f2522a6854d99ba4148 (patch)
tree0105e65eeafdb697dd0e1499215c4d741fda3252 /sci-biology/seqan
parentmedia-libs/vidstab: [QA] use tc-check-openmp correctly (diff)
downloadgentoo-70d003c62bd0ba9a96609f2522a6854d99ba4148.tar.gz
gentoo-70d003c62bd0ba9a96609f2522a6854d99ba4148.tar.bz2
gentoo-70d003c62bd0ba9a96609f2522a6854d99ba4148.zip
sci-biology/seqan: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/seqan')
-rw-r--r--sci-biology/seqan/seqan-2.4.0-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
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