svn commit: r412531 - head/mail/ruby-rfilter/files
Steve Wills
swills at FreeBSD.org
Mon Apr 4 21:56:48 UTC 2016
Author: swills
Date: Mon Apr 4 21:56:47 2016
New Revision: 412531
URL: https://svnweb.freebsd.org/changeset/ports/412531
Log:
mail/ruby-rfilter: fix build with Ruby 2.2
Added:
head/mail/ruby-rfilter/files/
head/mail/ruby-rfilter/files/patch-install.rb (contents, props changed)
Added: head/mail/ruby-rfilter/files/patch-install.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/ruby-rfilter/files/patch-install.rb Mon Apr 4 21:56:47 2016 (r412531)
@@ -0,0 +1,20 @@
+--- install.rb.orig 2016-04-04 21:38:57 UTC
++++ install.rb
+@@ -45,7 +45,7 @@ end
+
+ class ConfigTable
+
+- c = ::Config::CONFIG
++ c = ::RbConfig::CONFIG
+
+ rubypath = c['bindir'] + '/' + c['ruby_install_name']
+
+@@ -692,7 +692,7 @@ class Installer
+ "no extention exists: Have you done 'ruby #{$0} setup' ?"
+ end
+
+- DLEXT = /\.#{ ::Config::CONFIG['DLEXT'] }\z/
++ DLEXT = /\.#{ ::RbConfig::CONFIG['DLEXT'] }\z/
+
+ def _allext( dir )
+ Dir.open(dir) {|d|
More information about the svn-ports-head
mailing list