summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-20 20:29:37 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-20 20:33:07 +0100
commita4a96bc66864e6aabbc1b2edcfee32e2bc9f5312 (patch)
tree9177f5b07bcff35e64485e1ba15a4e8dc80785d1 /sci-libs/plplot
parentx11-misc/i3blocks: revbump, fixes bug #610090 (diff)
downloadgentoo-a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312.tar.gz
gentoo-a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312.tar.bz2
gentoo-a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312.zip
sci-libs/plplot: Fix .pc file by using full paths
* Use CMAKE_INSTALL_LIBDIR with a full path * java-pkg_regso is not EPREFIX aware Bug: https://bugs.gentoo.org/show_bug.cgi?id=610066 Package-Manager: Portage-2.3.3, Repoman-2.3.1
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
}