summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/kicad-5.1.12-r3.ebuild7
-rw-r--r--sci-electronics/kicad/kicad-6.0.4.ebuild6
-rw-r--r--sci-electronics/kicad/kicad-9999.ebuild6
3 files changed, 16 insertions, 3 deletions
diff --git a/sci-electronics/kicad/kicad-5.1.12-r3.ebuild b/sci-electronics/kicad/kicad-5.1.12-r3.ebuild
index 34fef8a30277..2f202db0313a 100644
--- a/sci-electronics/kicad/kicad-5.1.12-r3.ebuild
+++ b/sci-electronics/kicad/kicad-5.1.12-r3.ebuild
@@ -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
}
diff --git a/sci-electronics/kicad/kicad-6.0.4.ebuild b/sci-electronics/kicad/kicad-6.0.4.ebuild
index 37b4352cf709..19186c4e7333 100644
--- a/sci-electronics/kicad/kicad-6.0.4.ebuild
+++ b/sci-electronics/kicad/kicad-6.0.4.ebuild
@@ -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
diff --git a/sci-electronics/kicad/kicad-9999.ebuild b/sci-electronics/kicad/kicad-9999.ebuild
index 1e6d93af9eae..dce9bac6faa6 100644
--- a/sci-electronics/kicad/kicad-9999.ebuild
+++ b/sci-electronics/kicad/kicad-9999.ebuild
@@ -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