sci-libs/m4ri: [QA] use tc-check-openmp correctly

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2022-05-16 10:12:21 +02:00
parent 843d3ab2d6
commit 13afdb8e44

View File

@@ -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
@@ -23,7 +23,11 @@ RDEPEND="${DEPEND}"
DOCS=( AUTHORS )
pkg_pretend() {
use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_configure() {