Ruby 1.9.1 handle cross compilation better, espescially extensions
(I'm working on ARM at91sam9263-ek).
This patch also disable ruby doc generation and ipv6.
[Peter: fixed ipv6 handling]
Signed-off-by: laurent laffont <laurent.laffont@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---- ruby-1.8.3/configure.in.orig 2005-11-29 11:18:27.000000000 +0100
-+++ ruby-1.8.3/configure.in 2005-11-29 11:19:46.000000000 +0100
-@@ -529,7 +529,25 @@
+--- a/configure.in.orig 2009-07-08 15:23:44.000000000 +0200
++++ b/configure.in 2009-07-08 15:24:52.000000000 +0200
+@@ -997,7 +997,25 @@
fi
AC_FUNC_GETPGRP
# ruby
#
#############################################################
-RUBY_VERSION:=1.8.2
+RUBY_VERSION:=1.9.1-p129
RUBY_SOURCE:=ruby-$(RUBY_VERSION).tar.gz
-RUBY_SITE:=ftp://ftp.ruby-lang.org/pub/ruby/1.8
+RUBY_SITE:=ftp://ftp.ruby-lang.org/pub/ruby/1.9
RUBY_DIR:=$(BUILD_DIR)/ruby-$(RUBY_VERSION)
RUBY_CAT:=$(ZCAT)
RUBY_BINARY:=ruby
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
+ --disable-install-doc \
+ $(DISABLE_IPV6) \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
)