public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Francois Bissey" <f.r.bissey@massey.ac.nz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: app-admin/eselect/
Date: Fri, 16 Mar 2012 00:19:51 +0000 (UTC)	[thread overview]
Message-ID: <1331853029.be3c9fd9ffc3a8c6e13f08e7f99d6d14e0a169eb.fbissey@gentoo> (raw)

commit:     be3c9fd9ffc3a8c6e13f08e7f99d6d14e0a169eb
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Thu Mar 15 23:10:29 2012 +0000
Commit:     Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
CommitDate: Thu Mar 15 23:10:29 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=be3c9fd9

Add a band aid to eselect's alternative2 framework for prefix

---
 app-admin/eselect/ChangeLog               |    4 ++++
 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 eb42fad..bb06deb 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 7ca2190..d9f45fc 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() {



             reply	other threads:[~2012-03-16  0:20 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  0:19 Francois Bissey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-12  7:42 [gentoo-commits] proj/sci:master commit in: app-admin/eselect/ Justin Lecher
2016-02-10 18:27 Justin Lecher
2015-11-29 10:17 Justin Lecher
2015-08-17  9:43 Justin Lecher
2015-05-23 15:53 Justin Lecher
2015-01-26  7:19 Justin Lecher
2014-09-15 12:01 Justin Lecher
2014-05-26  8:35 Justin Lecher
2014-02-15 11:07 Justin Lecher
2014-01-21 19:38 Reinis Danne
2013-12-08 17:31 Justin Lecher
2013-09-12  5:40 Sebastien Fabbro
2013-07-18 22:30 Sebastien Fabbro
2013-07-08 11:54 Justin Lecher
2013-06-24 17:00 Sebastien Fabbro
2013-01-07 21:15 Justin Lecher
2012-10-24  6:36 Justin Lecher
2012-09-21 17:34 Sebastien Fabbro
2012-06-04 12:20 Justin Lecher
2012-02-13 17:43 Sebastien Fabbro
2012-02-09  0:09 Sebastien Fabbro
2011-09-27 16:11 Alexey Shvetsov
2011-09-06 17:44 Sebastien Fabbro

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=1331853029.be3c9fd9ffc3a8c6e13f08e7f99d6d14e0a169eb.fbissey@gentoo \
    --to=f.r.bissey@massey.ac.nz \
    --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