summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-01-26 15:59:37 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-01-26 15:59:37 +0000
commit5b351fa85cfa41e38fee64dd231f26bd1318bdba (patch)
tree8ebf0e8a7b81a1c270deb2b361fcaceffccc4a5c /dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild
parentMarked ~hppa (bug #152713). (diff)
downloadgentoo-2-5b351fa85cfa41e38fee64dd231f26bd1318bdba.tar.gz
gentoo-2-5b351fa85cfa41e38fee64dd231f26bd1318bdba.tar.bz2
gentoo-2-5b351fa85cfa41e38fee64dd231f26bd1318bdba.zip
Fixed #159922
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild')
-rw-r--r--dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild b/dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild
index c38f11294151..4c2b6f856014 100644
--- a/dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild
+++ b/dev-ruby/rubygems/rubygems-0.8.11-r6.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-ruby/rubygems/rubygems-0.8.11-r6.ebuild,v 1.1 2007/01/26 15:39:10 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubygems/rubygems-0.8.11-r6.ebuild,v 1.2 2007/01/26 15:59:37 pclouds Exp $
inherit ruby
@@ -28,7 +28,7 @@ src_compile() {
src_install() {
# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455
- unset RUBYOPT
+ export RUBYOPT="${GENTOO_RUBYOPT}"
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]')
GEM_HOME=${D}usr/lib/ruby/gems/$ver ruby_src_install
cp ${FILESDIR}/auto_gem.rb ${D}/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')