diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass index 465a1e0b7243..2bfbcc52ddad 100644 --- a/eclass/ruby.eclass +++ b/eclass/ruby.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.3 2003/09/12 11:56:04 twp Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.4 2003/09/21 21:13:45 usata Exp $ # # Author: Mamoru KOMACHI <usata@gentoo.org> # @@ -39,13 +39,13 @@ ruby_src_compile() { ruby_src_install() { local siteruby rdbase=/usr/share/doc/${PF}/rd - if [ -f extconf.rb -o -f Makefile ] ; then - einstall DESTDIR=${D} || die "einstall failed" - elif [ -f install.rb ] ; then + if [ -f install.rb ] ; then ruby install.rb config --prefix=${D}/usr \ || die "install.rb config failed" ruby install.rb install \ || die "install.rb install failed" + elif [ -f extconf.rb -o -f Makefile ] ; then + einstall DESTDIR=${D} || die "einstall failed" else siteruby=$(ruby -r rbconfig -e 'print Config::CONFIG["sitelibdir"]') insinto ${siteruby}/${PN} |