mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user