Change ruby version to 1.9.1-p129

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>
This commit is contained in:
laurent laffont 2009-07-09 14:08:51 +02:00 committed by Peter Korsgaard
parent e5afc25114
commit 8703912fa0
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
--- ruby-1.8.3/configure.in.orig 2005-11-29 11:18:27.000000000 +0100 --- a/configure.in.orig 2009-07-08 15:23:44.000000000 +0200
+++ ruby-1.8.3/configure.in 2005-11-29 11:19:46.000000000 +0100 +++ b/configure.in 2009-07-08 15:24:52.000000000 +0200
@@ -529,7 +529,25 @@ @@ -997,7 +997,25 @@
fi fi
AC_FUNC_GETPGRP AC_FUNC_GETPGRP

View File

@ -3,9 +3,9 @@
# ruby # ruby
# #
############################################################# #############################################################
RUBY_VERSION:=1.8.2 RUBY_VERSION:=1.9.1-p129
RUBY_SOURCE:=ruby-$(RUBY_VERSION).tar.gz 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_DIR:=$(BUILD_DIR)/ruby-$(RUBY_VERSION)
RUBY_CAT:=$(ZCAT) RUBY_CAT:=$(ZCAT)
RUBY_BINARY:=ruby RUBY_BINARY:=ruby
@ -41,6 +41,8 @@ $(RUBY_DIR)/.configured: $(RUBY_DIR)/.unpacked
--localstatedir=/var \ --localstatedir=/var \
--mandir=/usr/man \ --mandir=/usr/man \
--infodir=/usr/info \ --infodir=/usr/info \
--disable-install-doc \
$(DISABLE_IPV6) \
$(DISABLE_NLS) \ $(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \ $(DISABLE_LARGEFILE) \
) )