summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-06-06 18:52:46 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-06 18:52:46 +0200
commitcee4e91f161c8f2851f35c814494981e72ccf549 (patch)
treebbf63b24bed5109594ecc87c0b5b7f82000e71c2 /sci-libs
parentnet-mail/automx2: Bump to version 2021.4 (diff)
downloadgentoo-cee4e91f161c8f2851f35c814494981e72ccf549.tar.gz
gentoo-cee4e91f161c8f2851f35c814494981e72ccf549.tar.bz2
gentoo-cee4e91f161c8f2851f35c814494981e72ccf549.zip
sci-libs/plplot: Fix USE=java
Closes: https://bugs.gentoo.org/704248 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/plplot/plplot-5.15.0-r101.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sci-libs/plplot/plplot-5.15.0-r101.ebuild b/sci-libs/plplot/plplot-5.15.0-r101.ebuild
index 66bfce1ec688..a70c5c58d19b 100644
--- a/sci-libs/plplot/plplot-5.15.0-r101.ebuild
+++ b/sci-libs/plplot/plplot-5.15.0-r101.ebuild
@@ -7,6 +7,8 @@ WX_GTK_VER=3.0-gtk3
FORTRAN_NEEDED=fortran
LUA_COMPAT=( lua5-1 )
PYTHON_COMPAT=( python3_{7,8,9} )
+# fails with ninja, due to USE=java missing swig output dependencies
+CMAKE_MAKEFILE_GENERATOR=emake
inherit cmake flag-o-matic fortran-2 java-pkg-opt-2 lua-single python-single-r1 toolchain-funcs virtualx wxwidgets
@@ -294,6 +296,6 @@ src_install() {
if use java; then
java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar
- java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/plplotjavac_wrap.so
+ java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/libplplotjavac_wrap.so
fi
}