From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/
Date: Fri, 21 Sep 2012 06:00:41 +0000 (UTC) [thread overview]
Message-ID: <1348207220.a9b964feb4e26000a732cdffb05dc82d88babe58.jlec@gentoo> (raw)
commit: a9b964feb4e26000a732cdffb05dc82d88babe58
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 21 06:00:20 2012 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Sep 21 06:00:20 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a9b964fe
sci-chemistry/chimera-bin: Set rpath on prefix
(Portage version: 2.2.0_alpha130/git/Linux x86_64, unsigned Manifest commit)
---
sci-chemistry/chimera-bin/ChangeLog | 3 +++
sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild | 9 +++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/sci-chemistry/chimera-bin/ChangeLog b/sci-chemistry/chimera-bin/ChangeLog
index f098aa3..751995c 100644
--- a/sci-chemistry/chimera-bin/ChangeLog
+++ b/sci-chemistry/chimera-bin/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Sep 2012; Justin Lecher <jlec@gentoo.org> chimera-bin-1.6.2.ebuild:
+ Set rpath on prefix
+
*chimera-bin-1.6.2 (20 Sep 2012)
20 Sep 2012; Justin Lecher <jlec@gentoo.org> +chimera-bin-1.6.2.ebuild,
diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild
index 6d39207..6fea9b1 100644
--- a/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild
+++ b/sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild
@@ -17,6 +17,8 @@ LICENSE="chimera"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
+DEPEND="prefix? ( dev-util/patchelf )"
+
S="${WORKDIR}"
RESTRICT="fetch"
@@ -52,4 +54,11 @@ src_install() {
doexe "${T}"/chimera
make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera chimeraIcon
+
+ if use prefix; then
+ local i
+ for i in "${ED}"/opt/${PN}/bin/{tiffcp,povray,al2co} "${ED}"/opt/${PN}/lib/*.so; do
+ patchelf --set-rpath "${EPREFIX}/usr/lib:${EPREFIX}/opt/${PN}/lib" "${i}" || die
+ done
+ fi
}
next reply other threads:[~2012-09-21 6:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 6:00 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-25 11:18 [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/ Andrew Ammerlaan
2021-02-01 5:37 Andrew Ammerlaan
2021-01-29 11:49 Andrew Ammerlaan
2021-01-29 11:46 Andrew Ammerlaan
2021-01-29 11:40 Andrew Ammerlaan
2021-01-29 11:40 Andrew Ammerlaan
2020-12-31 11:59 Aisha Tammy
2020-09-28 8:13 Horea Christian
2020-09-28 8:13 Horea Christian
2016-11-11 19:13 Alexey Shvetsov
2015-11-03 14:49 Justin Lecher
2015-10-10 14:11 Justin Lecher
2014-09-15 6:32 Justin Lecher
2014-06-27 9:53 Alexey Shvetsov
2014-01-18 7:39 Justin Lecher
2014-01-18 7:38 Justin Lecher
2013-08-19 23:33 Sebastien Fabbro
2012-11-14 14:41 Justin Lecher
2012-11-14 14:09 Justin Lecher
2012-09-21 6:03 Justin Lecher
2012-09-20 12:39 Justin Lecher
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=1348207220.a9b964feb4e26000a732cdffb05dc82d88babe58.jlec@gentoo \
--to=jlec@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