sci-chemistry/openbabel: [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:14 +02:00
parent 70d003c62b
commit 245c3a3bb2
2 changed files with 10 additions and 2 deletions

View File

@@ -80,8 +80,12 @@ RDEPEND="
)
"
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
}
prepare_python_bindings() {

View File

@@ -80,8 +80,12 @@ RDEPEND="
)
"
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
}
prepare_python_bindings() {