|
Lines 2-7
Link Here
|
| 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/dev-lang/ruby/ruby-1.8.6_p287-r5.ebuild,v 1.5 2009/02/23 18:11:29 ranger Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.6_p287-r5.ebuild,v 1.5 2009/02/23 18:11:29 ranger Exp $ |
| 4 |
|
4 |
|
|
|
5 |
EAPI="2" |
| 6 |
|
| 5 |
WANT_AUTOCONF="latest" |
7 |
WANT_AUTOCONF="latest" |
| 6 |
WANT_AUTOMAKE="latest" |
8 |
WANT_AUTOMAKE="latest" |
| 7 |
|
9 |
|
|
Lines 28-34
Link Here
|
| 28 |
gdbm? ( sys-libs/gdbm ) |
30 |
gdbm? ( sys-libs/gdbm ) |
| 29 |
ssl? ( dev-libs/openssl ) |
31 |
ssl? ( dev-libs/openssl ) |
| 30 |
socks5? ( >=net-proxy/dante-1.1.13 ) |
32 |
socks5? ( >=net-proxy/dante-1.1.13 ) |
| 31 |
tk? ( dev-lang/tk ) |
33 |
tk? ( dev-lang/tk[threads=] ) |
| 32 |
>=dev-ruby/ruby-config-0.3.1 |
34 |
>=dev-ruby/ruby-config-0.3.1 |
| 33 |
!=dev-lang/ruby-cvs-${SLOT}* |
35 |
!=dev-lang/ruby-cvs-${SLOT}* |
| 34 |
!dev-ruby/rdoc |
36 |
!dev-ruby/rdoc |
|
Lines 39-57
Link Here
|
| 39 |
|
41 |
|
| 40 |
PROVIDE="virtual/ruby" |
42 |
PROVIDE="virtual/ruby" |
| 41 |
|
43 |
|
| 42 |
pkg_setup() { |
|
|
| 43 |
if use tk && ! (use threads == built_with_use dev-lang/tk threads) ; then |
| 44 |
eerror |
| 45 |
eerror "You have Tk support enabled." |
| 46 |
eerror |
| 47 |
eerror "Ruby and Tk need the same 'threads' USE flag settings." |
| 48 |
eerror "Either change the USE flag on dev-lang/ruby or on dev-lang/tk" |
| 49 |
eerror "and recompile tk." |
| 50 |
|
| 51 |
die "threads USE flag mismatch" |
| 52 |
fi |
| 53 |
} |
| 54 |
|
| 55 |
src_unpack() { |
44 |
src_unpack() { |
| 56 |
unpack ${A} |
45 |
unpack ${A} |
| 57 |
|
46 |
|