summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-03-04 11:04:09 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-03-04 11:04:09 +0000
commit55c824654605320f3a0cee91f285ebb0235b39cc (patch)
treee24a64a94fc690a4a138568d839073727807f09f /dev-scheme
parentmasked >=sys-apps/iproute2-2.6.19.20061214 on hardened profiles with kernel 2... (diff)
downloadgentoo-2-55c824654605320f3a0cee91f285ebb0235b39cc.tar.gz
gentoo-2-55c824654605320f3a0cee91f285ebb0235b39cc.tar.bz2
gentoo-2-55c824654605320f3a0cee91f285ebb0235b39cc.zip
have guile registration not try when ROOT != /
(Portage version: 2.1.2-r13)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/slib/ChangeLog5
-rw-r--r--dev-scheme/slib/slib-3.1.1-r1.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-scheme/slib/ChangeLog b/dev-scheme/slib/ChangeLog
index b65c8a9d3d94..ec9a298c63c4 100644
--- a/dev-scheme/slib/ChangeLog
+++ b/dev-scheme/slib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-scheme/slib
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/ChangeLog,v 1.20 2007/02/09 00:03:19 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/ChangeLog,v 1.21 2007/03/04 11:04:09 hkbst Exp $
+
+ 04 Mar 2007; Marijn Schouten <hkBst@gentoo.org> slib-3.1.1-r1.ebuild:
+ have guile registration not try when ROOT != /
04 Feb 2007; nixnut <nixnut@gentoo.org> slib-3.1.1.ebuild:
Stable on ppc wrt bug 161781
diff --git a/dev-scheme/slib/slib-3.1.1-r1.ebuild b/dev-scheme/slib/slib-3.1.1-r1.ebuild
index 1bca2e1586e0..e785f0db8452 100644
--- a/dev-scheme/slib/slib-3.1.1-r1.ebuild
+++ b/dev-scheme/slib/slib-3.1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/slib-3.1.1-r1.ebuild,v 1.2 2007/02/02 06:25:22 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/slib/slib-3.1.1-r1.ebuild,v 1.3 2007/03/04 11:04:09 hkbst Exp $
inherit versionator eutils
@@ -41,6 +41,8 @@ src_install() {
}
pkg_postinst() {
- einfo "Installing slib for guile..."
- ${ROOT}/usr/bin/guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
+ if [ "${ROOT}" == "/" ] ; then
+ einfo "Installing..."
+ guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" "/"
+ fi
}