mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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}
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user