| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.31 2009/11/28 09:02:59 a3li Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.32 2009/11/29 19:10:01 flameeyes Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: gems.eclass |
5 | # @ECLASS: gems.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # ruby@gentoo.org |
7 | # ruby@gentoo.org |
| 8 | # |
8 | # |
| … | |
… | |
| 68 | myconf="--rdoc --ri" |
68 | myconf="--rdoc --ri" |
| 69 | else |
69 | else |
| 70 | myconf="--no-rdoc --no-ri" |
70 | myconf="--no-rdoc --no-ri" |
| 71 | fi |
71 | fi |
| 72 | |
72 | |
|
|
73 | if [[ -n "${GEMS_FORCE_INSTALL}" ]]; then |
|
|
74 | myconf="${myconf} --force" |
|
|
75 | fi |
|
|
76 | |
| 73 | # I'm not sure how many ebuilds have correctly set USE_RUBY - let's assume |
77 | # I'm not sure how many ebuilds have correctly set USE_RUBY - let's assume |
| 74 | # ruby18 if they haven't, since even pure Ruby gems that have been written |
78 | # ruby18 if they haven't, since even pure Ruby gems that have been written |
| 75 | # against 1.8 can explode under 1.9. |
79 | # against 1.8 can explode under 1.9. |
| 76 | if [[ -z "${USE_RUBY}" ]]; then |
80 | if [[ -z "${USE_RUBY}" ]]; then |
| 77 | einfo "QA notice" |
81 | einfo "QA notice" |