public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/plplot/
Date: Mon, 20 Feb 2017 19:33:17 +0000 (UTC)	[thread overview]
Message-ID: <1487619187.a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312.soap@gentoo> (raw)

commit:     a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 19:29:37 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 19:33:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4a96bc6

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

 sci-libs/plplot/{plplot-5.12.0.ebuild => plplot-5.12.0-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-libs/plplot/plplot-5.12.0.ebuild b/sci-libs/plplot/plplot-5.12.0-r1.ebuild
similarity index 96%
rename from sci-libs/plplot/plplot-5.12.0.ebuild
rename to sci-libs/plplot/plplot-5.12.0-r1.ebuild
index 9cf3d800c8..92a67705fb 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
 }


             reply	other threads:[~2017-02-20 19:33 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 19:33 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-27 19:52 [gentoo-commits] repo/gentoo:master commit in: sci-libs/plplot/ Andreas Sturmlechner
2025-04-08 16:23 Pacho Ramos
2023-11-24 14:31 Pacho Ramos
2023-05-04 12:39 Pacho Ramos
2022-11-19 11:41 Andrew Ammerlaan
2022-10-08 19:06 Sam James
2022-06-21  1:53 Sam James
2022-06-14 13:06 Sam James
2021-07-17 18:18 David Seifert
2021-06-06 16:53 David Seifert
2021-06-06 16:53 David Seifert
2021-06-06 11:17 Andrew Ammerlaan
2021-06-05 15:10 Andrew Ammerlaan
2021-03-28  0:00 Andreas Sturmlechner
2021-03-28  0:00 Andreas Sturmlechner
2021-02-18 18:57 David Seifert
2021-02-14 16:32 Pacho Ramos
2020-02-09 16:36 Michał Górny
2019-12-12 16:46 Michał Górny
2017-04-20 16:41 David Seifert
2017-03-13  1:57 Michael Palimaka
2017-02-19 11:07 David Seifert
2017-02-13 13:18 David Seifert
2016-10-08 12:13 David Seifert
2016-08-03 17:45 David Seifert
2016-02-01  8:14 Agostino Sarubbo
2016-01-20  8:50 Justin Lecher
2016-01-20  8:20 Justin Lecher
2016-01-19 18:04 David Seifert
2015-10-25 10:42 Pacho Ramos
2015-08-26 14:24 Mikle Kolyada
2015-08-16 23:03 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487619187.a4a96bc66864e6aabbc1b2edcfee32e2bc9f5312.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox