Package: ruby-ffi / 1.0.11debian-5

disable-rake-compiler.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: ruby-ffi/Rakefile
===================================================================
--- ruby-ffi.orig/Rakefile	2012-06-30 10:39:02.121931503 -0300
+++ ruby-ffi/Rakefile	2012-06-30 10:39:40.385929999 -0300
@@ -1,12 +1,12 @@
 require 'rubygems'
 require 'rbconfig'
 
-USE_RAKE_COMPILER = (RUBY_PLATFORM =~ /java/) ? false : true
-if USE_RAKE_COMPILER
-  gem 'rake-compiler', '>=0.6.0'
-  require 'rake/extensiontask'
-  ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2'
-end
+USE_RAKE_COMPILER = false
+# if USE_RAKE_COMPILER
+#   gem 'rake-compiler', '>=0.6.0'
+#   require 'rake/extensiontask'
+#   ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2'
+# end
 
 require 'date'
 require 'fileutils'