summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-09-08 21:25:58 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-09-08 21:25:58 -0400
commit1490b92a58144421914e945f326e400074bf2cf2 (patch)
tree060b062de9b44b91490d6a42b978bf7efbda414e /sci-electronics
parentx11-themes/smplayer-themes: x86 stable (bug #663130) (diff)
downloadgentoo-1490b92a58144421914e945f326e400074bf2cf2.tar.gz
gentoo-1490b92a58144421914e945f326e400074bf2cf2.tar.bz2
gentoo-1490b92a58144421914e945f326e400074bf2cf2.zip
sci-electronics/kicad: fix oce USE flag
OCE build flag, being ON by default, was not disabled on "-oce". Also, it was behind an irrelevant "amd64" condition. Bug: https://bugs.gentoo.org/665500 Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/kicad/kicad-5.0.0.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/sci-electronics/kicad/kicad-5.0.0.ebuild b/sci-electronics/kicad/kicad-5.0.0.ebuild
index d1a689a120a..db6476d4b96 100644
--- a/sci-electronics/kicad/kicad-5.0.0.ebuild
+++ b/sci-electronics/kicad/kicad-5.0.0.ebuild
@@ -69,6 +69,7 @@ src_configure() {
-DKICAD_SCRIPTING_WXPYTHON="$(usex python)"
-DKICAD_SPICE="$(usex ngspice)"
-DKICAD_USE_OCC=OFF
+ -DKICAD_USE_OCE="$(usex oce)"
-DKICAD_INSTALL_DEMOS="$(usex examples)"
)
use python && mycmakeargs+=(
@@ -77,9 +78,6 @@ src_configure() {
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
-DPYTHON_LIBRARY="$(python_get_library_path)"
)
- use amd64 && use oce && mycmakeargs+=(
- -DKICAD_USE_OCE=ON
- )
cmake-utils_src_configure
}