From owner-svn-ports-head@freebsd.org Mon Apr 4 21:56:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9358FB02866; Mon, 4 Apr 2016 21:56:48 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 63CCA1946; Mon, 4 Apr 2016 21:56:48 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u34Lul6Z029420; Mon, 4 Apr 2016 21:56:47 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u34Lulef029419; Mon, 4 Apr 2016 21:56:47 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201604042156.u34Lulef029419@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Mon, 4 Apr 2016 21:56:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412531 - head/mail/ruby-rfilter/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 21:56:48 -0000 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|