1.7.7 OBS-URL: https://build.opensuse.org/request/show/137649 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=104
33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
Index: build/ac-macros/swig.m4
|
|
===================================================================
|
|
--- build/ac-macros/swig.m4.orig 2011-06-22 15:45:03.000000000 +0100
|
|
+++ build/ac-macros/swig.m4 2012-10-04 18:38:50.000000000 +0100
|
|
@@ -187,7 +187,7 @@ AC_DEFUN(SVN_FIND_SWIG,
|
|
for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
|
|
rubyhdrdir sitedir sitelibdir sitearchdir libdir
|
|
do
|
|
- rbconfig_tmp=`$rbconfig "print Config::CONFIG@<:@'$var_name'@:>@"`
|
|
+ rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG@<:@'$var_name'@:>@"`
|
|
eval "rbconfig_$var_name=\"$rbconfig_tmp\""
|
|
done
|
|
|
|
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig 2012-10-02 18:18:00.000000000 +0100
|
|
+++ configure.ac 2012-10-04 18:38:50.000000000 +0100
|
|
@@ -1117,12 +1117,12 @@ if test "$RUBY" != "none"; then
|
|
AC_PATH_PROGS(RDOC, rdoc rdoc1.8 rdoc18, none)
|
|
fi
|
|
AC_CACHE_CHECK([for Ruby major version], [svn_cv_ruby_major],[
|
|
- svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MAJOR))'`"
|
|
+ svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
|
|
])
|
|
RUBY_MAJOR="$svn_cv_ruby_major"
|
|
|
|
AC_CACHE_CHECK([for Ruby minor version], [svn_cv_ruby_minor],[
|
|
- svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print Config::CONFIG.fetch(%q(MINOR))'`"
|
|
+ svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
|
|
])
|
|
RUBY_MINOR="$svn_cv_ruby_minor"
|
|
|