svn commit: r407968 - in head/mail/ruby-rmail: . files

Steve Wills swills at FreeBSD.org
Wed Feb 3 18:36:08 UTC 2016


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|


More information about the svn-ports-all mailing list