1 |
commit: cee4e91f161c8f2851f35c814494981e72ccf549 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 6 16:52:46 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 6 16:52:46 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cee4e91f |
7 |
|
8 |
sci-libs/plplot: Fix USE=java |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704248 |
11 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sci-libs/plplot/plplot-5.15.0-r101.ebuild | 4 +++- |
15 |
1 file changed, 3 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-libs/plplot/plplot-5.15.0-r101.ebuild b/sci-libs/plplot/plplot-5.15.0-r101.ebuild |
18 |
index 66bfce1ec68..a70c5c58d19 100644 |
19 |
--- a/sci-libs/plplot/plplot-5.15.0-r101.ebuild |
20 |
+++ b/sci-libs/plplot/plplot-5.15.0-r101.ebuild |
21 |
@@ -7,6 +7,8 @@ WX_GTK_VER=3.0-gtk3 |
22 |
FORTRAN_NEEDED=fortran |
23 |
LUA_COMPAT=( lua5-1 ) |
24 |
PYTHON_COMPAT=( python3_{7,8,9} ) |
25 |
+# fails with ninja, due to USE=java missing swig output dependencies |
26 |
+CMAKE_MAKEFILE_GENERATOR=emake |
27 |
|
28 |
inherit cmake flag-o-matic fortran-2 java-pkg-opt-2 lua-single python-single-r1 toolchain-funcs virtualx wxwidgets |
29 |
|
30 |
@@ -294,6 +296,6 @@ src_install() { |
31 |
|
32 |
if use java; then |
33 |
java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar |
34 |
- java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/plplotjavac_wrap.so |
35 |
+ java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/libplplotjavac_wrap.so |
36 |
fi |
37 |
} |