Package: ecasound / 2.9.1-4

01_fix-ruby-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix ruby install path undr ruby2.0
Origin: vendor
Bug-Debian: http://bugs.debian.org/739127
Forwarded: no
Author: Alessandro Ghedini <ghedo@debian.org>
Last-Update: 2014-02-18

--- a/configure.ac
+++ b/configure.ac
@@ -749,7 +749,7 @@
   rubyecasound_support=no
   ECA_S_RUBY_SITEDIR=""
 else
-  ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include Config; print CONFIG[["sitedir"]] + "/" + CONFIG[["MAJOR"]] + "." + CONFIG[["MINOR"]]'`"
+  ECA_S_RUBY_SITEDIR="`ruby -e 'require "rbconfig"; include RbConfig; print CONFIG[["sitedir"]] + "/" + CONFIG[["MAJOR"]] + "." + CONFIG[["MINOR"]]'`"
 fi
 
 AC_SUBST(ECA_S_RUBY_SITEDIR)