summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-05-08 15:58:35 +0000
committerZac Medico <zmedico@gentoo.org>2012-05-08 15:58:35 +0000
commitd2a7ec22a1db75da22a324e1eca37260b3140ca0 (patch)
treef4f1f9a16b9dddbccd58d54ff543f7fdb7aca8da /sci-geosciences/googleearth
parentMarking Text-Unidecode-0.40.0 ppc64 for bug 414929 (diff)
downloadgentoo-2-d2a7ec22a1db75da22a324e1eca37260b3140ca0.tar.gz
gentoo-2-d2a7ec22a1db75da22a324e1eca37260b3140ca0.tar.bz2
gentoo-2-d2a7ec22a1db75da22a324e1eca37260b3140ca0.zip
Also set RPATH for libraries in plugins/imageformats/ subdirectory.
(Portage version: 2.2.0_alpha101_p18/cvs/Linux i686)
Diffstat (limited to 'sci-geosciences/googleearth')
-rw-r--r--sci-geosciences/googleearth/ChangeLog5
-rw-r--r--sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-geosciences/googleearth/ChangeLog b/sci-geosciences/googleearth/ChangeLog
index 1e143c8bb8dc..c7b2ffbb23d3 100644
--- a/sci-geosciences/googleearth/ChangeLog
+++ b/sci-geosciences/googleearth/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-geosciences/googleearth
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.32 2012/05/08 08:50:24 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/ChangeLog,v 1.33 2012/05/08 15:58:35 zmedico Exp $
+
+ 08 May 2012; Zac Medico <zmedico@gentoo.org> googleearth-6.2.2.6613.ebuild:
+ Also set RPATH for libraries in plugins/imageformats/ subdirectory.
08 May 2012; Zac Medico <zmedico@gentoo.org> googleearth-6.2.2.6613.ebuild:
Use patchelf --set-rpath $ORIGIN so that library dependencies can be properly
diff --git a/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild b/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild
index ce271f58bc46..a0e413edce35 100644
--- a/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild
+++ b/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild,v 1.2 2012/05/08 08:50:24 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/googleearth/googleearth-6.2.2.6613.ebuild,v 1.3 2012/05/08 15:58:35 zmedico Exp $
EAPI="4"
@@ -114,6 +114,11 @@ src_prepare() {
patchelf --set-rpath '$ORIGIN' "${x}" || \
die "patchelf failed on ${x}"
done
+ for x in plugins/imageformats/*.so ; do
+ [[ -f ${x} ]] || continue
+ patchelf --set-rpath /opt/${PN} "${x}" || \
+ die "patchelf failed on ${x}"
+ done
}
src_install() {