summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/plplot')
-rw-r--r--sci-libs/plplot/plplot-5.12.0-r1.ebuild (renamed from sci-libs/plplot/plplot-5.12.0.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/plplot/plplot-5.12.0.ebuild b/sci-libs/plplot/plplot-5.12.0-r1.ebuild
index 9cf3d800c8c9..92a67705fb3f 100644
--- a/sci-libs/plplot/plplot-5.12.0.ebuild
+++ b/sci-libs/plplot/plplot-5.12.0-r1.ebuild
@@ -143,6 +143,10 @@ src_configure() {
append-cxxflags -std=c++11
local mycmakeargs=(
+ # The build system does not honour CMAKE_INSTALL_LIBDIR as a
+ # relative dir, which is against the spirit of GNUInstallDirs, #610066
+ -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir)
+
## Features
-DBUILD_DOC=OFF
-DBUILD_DOX_DOC=OFF
@@ -268,6 +272,6 @@ src_install() {
if use java; then
java-pkg_dojar "${BUILD_DIR}"/examples/java/${PN}.jar
- java-pkg_regso /usr/$(get_libdir)/jni/plplotjavac_wrap.so
+ java-pkg_regso "${EPREFIX}"/usr/$(get_libdir)/jni/plplotjavac_wrap.so
fi
}