Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Change ruby version to 1.9.1-p129
@ 2009-07-09 12:08 laurent.laffont at gmail.com
  2009-07-13  7:23 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: laurent.laffont at gmail.com @ 2009-07-09 12:08 UTC (permalink / raw)
  To: buildroot

From: laurent laffont <laurent.laffont@gmail.com>

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.

Signed-off-by: laurent laffont <laurent.laffont@gmail.com>
---
 package/ruby/ruby-configure.patch |    6 +++---
 package/ruby/ruby.mk              |    6 ++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/package/ruby/ruby-configure.patch b/package/ruby/ruby-configure.patch
index ab44ebe..2b58c70 100644
--- a/package/ruby/ruby-configure.patch
+++ b/package/ruby/ruby-configure.patch
@@ -1,6 +1,6 @@
---- 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
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index c7dc31f..c4c0d79 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -3,9 +3,9 @@
 # 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
@@ -41,6 +41,8 @@ $(RUBY_DIR)/.configured: $(RUBY_DIR)/.unpacked
 		--localstatedir=/var \
 		--mandir=/usr/man \
 		--infodir=/usr/info \
+		--disable-install-doc \
+		--disable-ipv6 \
 		$(DISABLE_NLS) \
 		$(DISABLE_LARGEFILE) \
 	)
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] Change ruby version to 1.9.1-p129
  2009-07-09 12:08 [Buildroot] [PATCH] Change ruby version to 1.9.1-p129 laurent.laffont at gmail.com
@ 2009-07-13  7:23 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-07-13  7:23 UTC (permalink / raw)
  To: buildroot

>>>>> "laurent" == laurent laffont <laurent.laffont@gmail.com> writes:

Hi,

 laurent> From: laurent laffont <laurent.laffont@gmail.com>
 laurent> Ruby 1.9.1 handle cross compilation better, espescially extensions (I'm working on ARM at91sam9263-ek).
 laurent> This patch also disable ruby doc generation and ipv6.

We have a DISABLE_IPV6 to handle ipv6 enable/disable, but otherwise it
looks good - Committed.

Thanks!

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-13  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-09 12:08 [Buildroot] [PATCH] Change ruby version to 1.9.1-p129 laurent.laffont at gmail.com
2009-07-13  7:23 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox