From owner-svn-ports-head@freebsd.org Wed Feb 3 18:36:08 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 71507A9A9B1; Wed, 3 Feb 2016 18:36:08 +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 41EF01DFB; Wed, 3 Feb 2016 18:36:08 +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 u13Ia7rl045741; Wed, 3 Feb 2016 18:36:07 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u13Ia7gx045739; Wed, 3 Feb 2016 18:36:07 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201602031836.u13Ia7gx045739@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 3 Feb 2016 18:36:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407968 - in head/mail/ruby-rmail: . 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.20 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: Wed, 03 Feb 2016 18:36:08 -0000 Author: swills Date: Wed Feb 3 18:36:06 2016 New Revision: 407968 URL: https://svnweb.freebsd.org/changeset/ports/407968 Log: mail/ruby-rmail: fix build with ruby 2.2 and ruby 2.3 Added: head/mail/ruby-rmail/files/ head/mail/ruby-rmail/files/patch-install.rb (contents, props changed) Modified: head/mail/ruby-rmail/Makefile Modified: head/mail/ruby-rmail/Makefile ============================================================================== --- head/mail/ruby-rmail/Makefile Wed Feb 3 17:42:58 2016 (r407967) +++ head/mail/ruby-rmail/Makefile Wed Feb 3 18:36:06 2016 (r407968) @@ -14,9 +14,6 @@ COMMENT= Lightweight mail manipulating l LICENSE= BSD3CLAUSE -BROKEN_RUBY22= yes -BROKEN_RUBY23= yes - OPTIONS_DEFINE= DOCS NO_ARCH= yes Added: head/mail/ruby-rmail/files/patch-install.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/ruby-rmail/files/patch-install.rb Wed Feb 3 18:36:06 2016 (r407968) @@ -0,0 +1,20 @@ +--- install.rb.orig 2016-02-03 17:53:10.253692000 +0000 ++++ install.rb 2016-02-03 17:53:44.504039000 +0000 +@@ -45,7 +45,7 @@ + + class ConfigTable + +- c = ::Config::CONFIG ++ c = ::RbConfig::CONFIG + + rubypath = c['bindir'] + '/' + c['ruby_install_name'] + +@@ -692,7 +692,7 @@ + "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|