textproc/rubygem-rmmseg-cpp: fix build on systems without gcc/g++

Reported by:	antoine
This commit is contained in:
Steve Wills 2014-10-09 15:03:08 +00:00
parent 49fb043750
commit 259fe123b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370539

View file

@ -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'