summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/geos/files/3.4.2-ruby_so_name.patch')
-rw-r--r--sci-libs/geos/files/3.4.2-ruby_so_name.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/geos/files/3.4.2-ruby_so_name.patch b/sci-libs/geos/files/3.4.2-ruby_so_name.patch
new file mode 100644
index 000000000000..4168e5c0263f
--- /dev/null
+++ b/sci-libs/geos/files/3.4.2-ruby_so_name.patch
@@ -0,0 +1,12 @@
+diff -Naur geos-3.4.2.orig/macros/ruby.m4 geos-3.4.2/macros/ruby.m4
+--- a/macros/ruby.m4 2013-08-25 11:10:32.000000000 -0400
++++ b/macros/ruby.m4 2014-11-05 06:35:39.347830878 -0500
+@@ -38,7 +38,7 @@
+ RUBY_EXTENSION_DIR=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["sitearchdir"]] || Config::CONFIG[["sitearchdir"]]'`
+
+ dnl Get Ruby shared library name, this does not include the lib prefix or extension name
+- RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["LIBRUBY_SO"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`
++ RUBY_SO_NAME=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["RUBY_SO_NAME"]] || Config::CONFIG[["RUBY_SO_NAME"]]'`
+
+ dnl Get Ruby shared libary name
+ RUBY_SHARED_LIB=`$RUBY -rrbconfig -e 'puts RbConfig::CONFIG[["LIBRUBY"]] || Config::CONFIG[["LIBRUBY"]]'`