summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-29 06:29:05 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-29 20:39:42 +0100
commit6a497e3d8c07d816ec5b8d612d4f7563dff9e756 (patch)
treef1abcb9d7980cdd7a16a4248d4d8418c5417e71d
parent3874b04f73ae81ab20fabb648ea78bddc4219ef6 (diff)
downloadbuildroot-novena-6a497e3d8c07d816ec5b8d612d4f7563dff9e756.tar.gz
buildroot-novena-6a497e3d8c07d816ec5b8d612d4f7563dff9e756.zip
ruby: bump to version 1.9.3-p362
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ruby/ruby-configure.patch30
-rw-r--r--package/ruby/ruby.mk10
2 files changed, 5 insertions, 35 deletions
diff --git a/package/ruby/ruby-configure.patch b/package/ruby/ruby-configure.patch
deleted file mode 100644
index 0077a6761..000000000
--- a/package/ruby/ruby-configure.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Nura ruby-1.9.2-p0.orig/configure.in ruby-1.9.2-p0/configure.in
---- ruby-1.9.2-p0.orig/configure.in 2010-08-14 05:11:59.000000000 -0300
-+++ ruby-1.9.2-p0/configure.in 2010-11-04 15:46:22.478191926 -0300
-@@ -1410,7 +1410,25 @@
- fi
-
- AC_FUNC_GETPGRP
--AC_FUNC_SETPGRP
-+
-+dnl AC_FUNC_SETPGRP does not work if cross compiling
-+dnl Instead, assume we will have a prototype for setpgrp if cross compiling.
-+if test "$cross_compiling" = no; then
-+ AC_FUNC_SETPGRP
-+else
-+ AC_CACHE_CHECK([whether setpgrp takes no argument], ac_cv_func_setpgrp_void,
-+ [AC_TRY_COMPILE([
-+#include <unistd.h>
-+], [
-+ if (setpgrp(1,1) == -1)
-+ exit (0);
-+ else
-+ exit (1);
-+], ac_cv_func_setpgrp_void=no, ac_cv_func_setpgrp_void=yes)])
-+if test $ac_cv_func_setpgrp_void = yes; then
-+ AC_DEFINE(SETPGRP_VOID, 1)
-+fi
-+fi
-
- AC_C_BIGENDIAN
- AC_C_CONST
diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk
index a5b8cde31..ee1f9ed28 100644
--- a/package/ruby/ruby.mk
+++ b/package/ruby/ruby.mk
@@ -4,15 +4,15 @@
#
#############################################################
-RUBY_VERSION = 1.9.2-p320
+RUBY_VERSION = 1.9.3-p362
RUBY_SITE = ftp://ftp.ruby-lang.org/pub/ruby/1.9
-RUBY_AUTORECONF = YES
-HOST_RUBY_AUTORECONF = YES
-RUBY_DEPENDENCIES = host-ruby
-HOST_RUBY_DEPENDENCIES =
+RUBY_DEPENDENCIES = host-pkgconf host-ruby
+HOST_RUBY_DEPENDENCIES = host-pkgconf
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
RUBY_CONF_OPT = --disable-install-doc --disable-rpath
HOST_RUBY_CONF_OPT = --disable-install-doc --with-out-ext=curses,readline
+RUBY_LICENSE = Ruby
+RUBY_LICENSE_FILES = LEGAL
# Force optionals to build before we do
ifeq ($(BR2_PACKAGE_BERKELEYDB),y)