Date: Mon, 4 Apr 2016 21:56:47 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412531 - head/mail/ruby-rfilter/files Message-ID: <201604042156.u34Lulef029419@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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|
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604042156.u34Lulef029419>