Skip to contentSkip to conversation

ruby: use --disable-rubygems

PATCH New Gustavo Zacarias 2 participants 3 messages Oct 1, 2014 – Oct 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ruby: use --disable-rubygems

At least for ruby 2.x we need to --disable-rubygems besides removing the gems files to avoid the requires.

---
 package/ruby/ruby.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ruby/ruby.mk +1 -1
index 8c094b5..bf34189 100644
@@ -12,7 +12,7 @@ RUBY_DEPENDENCIES = host-pkgconf host-ruby
 HOST_RUBY_DEPENDENCIES = host-pkgconf
 RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
 RUBY_MAKE = $(MAKE1)
-RUBY_CONF_OPT = --disable-install-doc --disable-rpath
+RUBY_CONF_OPT = --disable-install-doc --disable-rpath --disable-rubygems
 HOST_RUBY_CONF_OPT = --disable-install-doc \
 	--with-out-ext=curses,openssl,readline \
 	--without-gmp
Signature · 1 line
2.0.4
#1 lore raw

PATCH 2/2 ruby: bump to version 2.1.3

Also add hash file.

---
 package/ruby/ruby.hash | 2 ++
 package/ruby/ruby.mk   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 package/ruby/ruby.hash
package/ruby/ruby.hash new file +2 -0
new file mode 100644
index 0000000..3d17e8c
@@ -0,0 +1,2 @@
+# From https://www.ruby-lang.org/en/downloads/
+md5	74a37b9ad90e4ea63c0eed32b9d5b18f	ruby-2.1.3.tar.gz
package/ruby/ruby.mk +1 -1
index bf34189..40025b0 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 RUBY_VERSION_MAJOR = 2.1
-RUBY_VERSION = $(RUBY_VERSION_MAJOR).2
+RUBY_VERSION = $(RUBY_VERSION_MAJOR).3
 RUBY_VERSION_EXT = 2.1.0
 RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR)
 RUBY_DEPENDENCIES = host-pkgconf host-ruby
Signature · 1 line
2.0.4
#2 lore raw

PATCH 1/2 ruby: use --disable-rubygems

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

At least for ruby 2.x we need to --disable-rubygems besides removing the gems files to avoid the requires.

---
 package/ruby/ruby.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Both applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com