aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-rmmseg-cpp
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-10-09 15:03:08 +0000
committerSteve Wills <swills@FreeBSD.org>2014-10-09 15:03:08 +0000
commit259fe123b6503e8f2eb168556ac6799eade5b29b (patch)
tree668ee47822deb8e99249a5228207e335999e41ee /textproc/rubygem-rmmseg-cpp
parent49fb04375046ee9ae65a5755d99a1cd90a1ee833 (diff)
downloadports-259fe123b6503e8f2eb168556ac6799eade5b29b.tar.gz
ports-259fe123b6503e8f2eb168556ac6799eade5b29b.zip
textproc/rubygem-rmmseg-cpp: fix build on systems without gcc/g++
Reported by: antoine
Notes
Notes: svn path=/head/; revision=370539
Diffstat (limited to 'textproc/rubygem-rmmseg-cpp')
-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'