]> git.pld-linux.org Git - packages/geos.git/blobdiff - rubydir.patch
- updated to 3.8.3 (last version with swig bindings)
[packages/geos.git] / rubydir.patch
index 22d48773ef9436eb5dd604f0882580bf0432a6e5..0992707a7b1ab5739643755865f7eb2b2342ac45 100644 (file)
@@ -1,11 +1,11 @@
---- geos-3.3.8/macros/ruby.m4~ 2013-07-14 21:24:58.543846706 +0200
-+++ geos-3.3.8/macros/ruby.m4  2013-07-14 21:34:50.456329482 +0200
-@@ -33,7 +33,7 @@
-               RUBY_LIB_DIR=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["libdir"]]'`
+--- geos-3.8.1/macros/ruby.m4.orig     2019-09-18 23:38:19.000000000 +0200
++++ geos-3.8.1/macros/ruby.m4  2020-11-08 15:38:19.929621492 +0100
+@@ -41,7 +41,7 @@
+               RUBY_ARCH_LIB_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["archlibdir"]] || Config::CONFIG[["archlibdir"]]'`
  
                dnl Get Ruby extensions directory
--              RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["sitearchdir"]]'`
-+              RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["vendorarchdir"]]'`
+-              RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["sitearchdir"]] || Config::CONFIG[["sitearchdir"]]'`
++              RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["vendorarchdir"]] || Config::CONFIG[["vendorarchdir"]]'`
  
                dnl Get Ruby shared library name, this does not include the lib prefix or extension name
-               RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts Config::CONFIG[["RUBY_SO_NAME"]]'`
+               RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["RUBY_SO_NAME"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`
This page took 0.043267 seconds and 4 git commands to generate.