From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7B12F138010 for ; Fri, 21 Sep 2012 06:01:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4BB71E04C2; Fri, 21 Sep 2012 06:00:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1D3E2E04C2 for ; Fri, 21 Sep 2012 06:00:45 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8164833C319 for ; Fri, 21 Sep 2012 06:00:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6D61AE544B for ; Fri, 21 Sep 2012 06:00:41 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1348207220.a9b964feb4e26000a732cdffb05dc82d88babe58.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/chimera-bin/ChangeLog sci-chemistry/chimera-bin/chimera-bin-1.6.2.ebuild X-VCS-Directories: sci-chemistry/chimera-bin/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: a9b964feb4e26000a732cdffb05dc82d88babe58 X-VCS-Branch: master Date: Fri, 21 Sep 2012 06:00:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 84a6f3ed-f5cc-4dcc-a171-7356d4b8a467 X-Archives-Hash: 52b32f7460852e891c5ed5c1de373d4f commit: a9b964feb4e26000a732cdffb05dc82d88babe58 Author: Justin Lecher gentoo org> AuthorDate: Fri Sep 21 06:00:20 2012 +0000 Commit: Justin Lecher gentoo 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 chimera-bin-1.6.2.ebuild: + Set rpath on prefix + *chimera-bin-1.6.2 (20 Sep 2012) 20 Sep 2012; Justin Lecher +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 }