Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/freecad/
Date: Sat, 04 Dec 2021 21:52:59
Message-Id: 1638654765.acca9d04991575dad5d9930110e6ed3ec199d859.sam@gentoo
1 commit: acca9d04991575dad5d9930110e6ed3ec199d859
2 Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
3 AuthorDate: Sat Dec 4 11:06:35 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 4 21:52:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acca9d04
7
8 media-gfx/freecad: port changes from v0.19 to live ebuild
9
10 Switch a cmake option, to allow proper configuration, if both,
11 sci-libs/oce and sci-libs/opencascade are being installed.
12 This allow to further simplify opencascade related logic.
13
14 Package-Manager: Portage-3.0.28, Repoman-3.0.3
15 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
16 Closes: https://github.com/gentoo/gentoo/pull/23179
17 Signed-off-by: Sam James <sam <AT> gentoo.org>
18
19 media-gfx/freecad/freecad-9999.ebuild | 11 -----------
20 1 file changed, 11 deletions(-)
21
22 diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild
23 index a4a2fa3acc6c..2852f295c8e1 100644
24 --- a/media-gfx/freecad/freecad-9999.ebuild
25 +++ b/media-gfx/freecad/freecad-9999.ebuild
26 @@ -234,17 +234,6 @@ src_configure() {
27 # Use the version of shiboken2 that matches the selected python version
28 -DPYTHON_CONFIG_SUFFIX="-${EPYTHON}"
29 -DPython3_EXECUTABLE=${PYTHON}
30 -
31 - -DOCCT_CMAKE_FALLBACK=ON # don't use occt-config which isn't included in opencascade for Gentoo
32 - )
33 -
34 - # bug https://bugs.gentoo.org/788274
35 - local OCC_P=$(best_version sci-libs/opencascade[vtk])
36 - OCC_P=${OCC_P#sci-libs/}
37 - OCC_P=${OCC_P%-r*}
38 - mycmakeargs+=(
39 - -DOCC_INCLUDE_DIR="${CASROOT}"/include/${OCC_P}
40 - -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir)/${OCC_P}
41 )
42
43 if use debug; then