aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2014-10-09 23:03:08 +0800
committerswills <swills@FreeBSD.org>2014-10-09 23:03:08 +0800
commit9ce74b9f2db89c1b0f028aec27a04dd415a5aa1a (patch)
tree668ee47822deb8e99249a5228207e335999e41ee /textproc
parentbc3ec656ddd9982460b90f11926aafe02e032580 (diff)
downloadfreebsd-ports-gnome-9ce74b9f2db89c1b0f028aec27a04dd415a5aa1a.tar.gz
freebsd-ports-gnome-9ce74b9f2db89c1b0f028aec27a04dd415a5aa1a.tar.zst
freebsd-ports-gnome-9ce74b9f2db89c1b0f028aec27a04dd415a5aa1a.zip
textproc/rubygem-rmmseg-cpp: fix build on systems without gcc/g++
Reported by: antoine
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rubygem-rmmseg-cpp/files/patch-ext__rmmseg__extconf.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/rubygem-rmmseg-cpp/files/patch-ext__rmmseg__extconf.rb b/textproc/rubygem-rmmseg-cpp/files/patch-ext__rmmseg__extconf.rb
new file mode 100644
index 000000000000..10f75051c074
--- /dev/null
+++ b/textproc/rubygem-rmmseg-cpp/files/patch-ext__rmmseg__extconf.rb
@@ -0,0 +1,10 @@
+--- ext/rmmseg/extconf.rb.orig 2014-10-09 14:17:52 UTC
++++ ext/rmmseg/extconf.rb
+@@ -1,6 +1,6 @@
+ require 'mkmf'
+
+-CONFIG['LDSHARED'] = CONFIG['LDSHARED'].sub(/^\$\(CC\)/, 'g++')
++# CONFIG['LDSHARED'] = CONFIG['LDSHARED'].sub(/^\$\(CC\)/, 'g++')
+
+ # if RUBY_PLATFORM =~ /darwin/
+ # # CONFIG['LDSHARED'] = 'g++ --dynamiclib -flat_namespace -undefined suppress'