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
commit79a6e3983411be2e5ce9adb78ba2c9ba0f321b45 (patch)
treefcf50249cc620411eea99fcf8b8bffe565a21514 /eclass/gems.eclass
parentAdd ~sparc (diff)
downloadgentoo-2-79a6e3983411be2e5ce9adb78ba2c9ba0f321b45.tar.gz
gentoo-2-79a6e3983411be2e5ce9adb78ba2c9ba0f321b45.tar.bz2
gentoo-2-79a6e3983411be2e5ce9adb78ba2c9ba0f321b45.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.