sci-electronics/kicad: [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:16 +02:00
parent 245c3a3bb2
commit 4b2a139c41
3 changed files with 16 additions and 3 deletions

View File

@@ -59,9 +59,14 @@ PATCHES=(
"${FILESDIR}/${PN}-5.1.5-ldflags.patch"
)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
use python && python-single-r1_pkg_setup
use openmp && tc-check-openmp
setup-wxwidgets
check-reqs_pkg_setup
}

View File

@@ -78,8 +78,12 @@ PATCHES=(
"${FILESDIR}/${PN}-scripts-install-fix.patch"
)
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
python-single-r1_pkg_setup
setup-wxwidgets

View File

@@ -74,8 +74,12 @@ fi
CHECKREQS_DISK_BUILD="900M"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
python-single-r1_pkg_setup
setup-wxwidgets