summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-11-29 19:10:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-11-29 19:10:01 +0000
commit127e2ce7bb42632303381b1e4abed69e256b9981 (patch)
treed25225b8e89132c451bc7cea17f6e9562bb3d9e5 /eclass/gems.eclass
parentAdd ~sparc (diff)
downloadhistorical-127e2ce7bb42632303381b1e4abed69e256b9981.tar.gz
historical-127e2ce7bb42632303381b1e4abed69e256b9981.tar.bz2
historical-127e2ce7bb42632303381b1e4abed69e256b9981.zip
Commit missing --force support.
Diffstat (limited to 'eclass/gems.eclass')
-rw-r--r--eclass/gems.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/gems.eclass b/eclass/gems.eclass
index 2bf311f2cb60..67acbfede5d0 100644
--- a/eclass/gems.eclass
+++ b/eclass/gems.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.31 2009/11/28 09:02:59 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.32 2009/11/29 19:10:01 flameeyes Exp $
# @ECLASS: gems.eclass
# @MAINTAINER:
@@ -70,6 +70,10 @@ gems_src_install() {
myconf="--no-rdoc --no-ri"
fi
+ if [[ -n "${GEMS_FORCE_INSTALL}" ]]; then
+ myconf="${myconf} --force"
+ fi
+
# I'm not sure how many ebuilds have correctly set USE_RUBY - let's assume
# ruby18 if they haven't, since even pure Ruby gems that have been written
# against 1.8 can explode under 1.9.