sci-visualization/paraview: [QA] use tc-check-openmp correctly

Closes: https://github.com/gentoo/gentoo/pull/25500
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2022-05-16 10:12:28 +02:00
parent d2e8ea401e
commit c6a718d53d
2 changed files with 12 additions and 4 deletions

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
@@ -108,8 +108,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch
)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
use python && python-single-r1_pkg_setup
PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
}

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
@@ -108,8 +108,12 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.9.0-gcc11-include.patch
)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != "binary" ]] && use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
use python && python-single-r1_pkg_setup
PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV}
}