svn commit: r414142 - in head/devel/ruby-event-loop: . files

Steve Wills swills at FreeBSD.org
Wed Apr 27 22:23:40 UTC 2016


Author: swills
Date: Wed Apr 27 22:23:39 2016
New Revision: 414142
URL: https://svnweb.freebsd.org/changeset/ports/414142

Log:
  devel/ruby-event-loop: remove USE_RAKE
  
  While here, fix build with Ruby 2.2 (though it is still unfetchable)

Added:
  head/devel/ruby-event-loop/files/
  head/devel/ruby-event-loop/files/patch-setup.rb   (contents, props changed)
Modified:
  head/devel/ruby-event-loop/Makefile

Modified: head/devel/ruby-event-loop/Makefile
==============================================================================
--- head/devel/ruby-event-loop/Makefile	Wed Apr 27 22:19:26 2016	(r414141)
+++ head/devel/ruby-event-loop/Makefile	Wed Apr 27 22:23:39 2016	(r414142)
@@ -15,11 +15,8 @@ BROKEN=		unfetchable
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_RUBY22=	yes
-
 NO_ARCH=	yes
 USE_RUBY=	yes
-USE_RAKE=	yes
 
 do-configure:
 	@cd ${WRKSRC} && ${RUBY} setup.rb config --prefix=${PREFIX}

Added: head/devel/ruby-event-loop/files/patch-setup.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ruby-event-loop/files/patch-setup.rb	Wed Apr 27 22:23:39 2016	(r414142)
@@ -0,0 +1,19 @@
+--- setup.rb.orig	2006-10-19 18:09:26 UTC
++++ setup.rb
+@@ -281,7 +281,6 @@ class ConfigTable
+     'site-ruby-common' => 'siteruby',     # For backward compatibility
+     'site-ruby'        => 'siterubyver',  # For backward compatibility
+     'bin-dir'          => 'bindir',
+-    'bin-dir'          => 'bindir',
+     'rb-dir'           => 'rbdir',
+     'so-dir'           => 'sodir',
+     'data-dir'         => 'datadir',
+@@ -786,7 +785,7 @@ class ToplevelInstaller
+     else
+       require 'rbconfig'
+     end
+-    ::Config::CONFIG
++    ::RbConfig::CONFIG
+   end
+ 
+   def initialize(ardir_root, config)


More information about the svn-ports-all mailing list