Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2016 18:36:07 +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: r407968 - in head/mail/ruby-rmail: . files
Message-ID:  <201602031836.u13Ia7gx045739@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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|



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602031836.u13Ia7gx045739>