diff options
author | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2012-03-16 01:27:02 +0100 |
---|---|---|
committer | Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> | 2012-03-16 01:27:02 +0100 |
commit | 5765871955f982821682a675b0c8755540b3ae90 (patch) | |
tree | bed718f3397b913fd726195d4b7d53b72ba653ec | |
parent | sci-biology/mosaik: masking mosaik-2.1.33 mosaik-9999 (diff) | |
parent | Merge github.com:gentoo-science/sci (diff) | |
download | sci-5765871955f982821682a675b0c8755540b3ae90.tar.gz sci-5765871955f982821682a675b0c8755540b3ae90.tar.bz2 sci-5765871955f982821682a675b0c8755540b3ae90.zip |
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci
-rw-r--r-- | app-admin/eselect/ChangeLog | 4 | ||||
-rw-r--r-- | app-admin/eselect/eselect-1.3.1-r1.ebuild | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog index eb42fad72..bb06deb76 100644 --- a/app-admin/eselect/ChangeLog +++ b/app-admin/eselect/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.179 2011/01/22 21:38:52 ulm Exp $ + 15 Mar 2012; François Bissey <francois.bissey@canterbury.ac.nz> + eselect-1.3.1-r1.ebuild: + add a band aid for prefix + *eselect-1.3.1-r1 (13 Feb 2012) 13 Feb 2012; Sébastien Fabbro <bicatali@gentoo.org> -eselect-1.3-r2.ebuild, diff --git a/app-admin/eselect/eselect-1.3.1-r1.ebuild b/app-admin/eselect/eselect-1.3.1-r1.ebuild index 7ca2190cc..d9f45fcb7 100644 --- a/app-admin/eselect/eselect-1.3.1-r1.ebuild +++ b/app-admin/eselect/eselect-1.3.1-r1.ebuild @@ -59,6 +59,12 @@ src_install() { keepdir /var/lib/gentoo/news fowners root:portage /var/lib/gentoo/news || die fperms g+w /var/lib/gentoo/news || die + + # band aid for prefix + if use prefix; then + cd "${ED}"/usr/share/eselect/libs + sed -i "s:ALTERNATIVESDIR_ROOTLESS=\"${EPREFIX}:ALTERNATIVESDIR_ROOTLESS=\":" alternatives.bash + fi } pkg_postinst() { |