pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-vapor Fix build problem on Ruby 2.2 and...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f57c17002e5
branches: trunk
changeset: 652484:4f57c17002e5
user: taca <taca%pkgsrc.org@localhost>
date: Wed Jun 03 12:04:16 2015 +0000
description:
Fix build problem on Ruby 2.2 and later.
diffstat:
databases/ruby-vapor/distinfo | 3 ++-
databases/ruby-vapor/patches/patch-install.rb | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 66b46ac5b969 -r 4f57c17002e5 databases/ruby-vapor/distinfo
--- a/databases/ruby-vapor/distinfo Wed Jun 03 12:03:01 2015 +0000
+++ b/databases/ruby-vapor/distinfo Wed Jun 03 12:04:16 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/01/03 14:25:49 taca Exp $
+$NetBSD: distinfo,v 1.5 2015/06/03 12:04:16 taca Exp $
SHA1 (vapor-0.81.tar.gz) = af5c5f33339c7130296e25671d97dda1f7e81c4f
RMD160 (vapor-0.81.tar.gz) = 48b39d2bd0000e30161b82e48853125e3a8e460c
Size (vapor-0.81.tar.gz) = 102993 bytes
+SHA1 (patch-install.rb) = f4d166ec92912014b40175d90158234312a962e0
diff -r 66b46ac5b969 -r 4f57c17002e5 databases/ruby-vapor/patches/patch-install.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-vapor/patches/patch-install.rb Wed Jun 03 12:04:16 2015 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-install.rb,v 1.1 2015/06/03 12:04:16 taca Exp $
+
+Fix build problem on Ruby 2.2 and later.
+
+--- install.rb.orig 2003-11-22 08:36:17.000000000 +0000
++++ install.rb
+@@ -74,7 +74,7 @@ end
+
+ class ConfigTable
+
+- c = ::Config::CONFIG
++ c = ::RbConfig::CONFIG
+
+ rubypath = c['bindir'] + '/' + c['ruby_install_name']
+
+@@ -745,7 +745,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|
Home |
Main Index |
Thread Index |
Old Index