summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2014-02-22 03:23:10 +0000
committertaca <taca@pkgsrc.org>2014-02-22 03:23:10 +0000
commit3c2205681ad560de6d616415917b3bc68c287137 (patch)
treebc2a2baa511a42d96535e6280509e07865812966 /lang
parent6d74d44d0f6ed21a9ad2b527ca96825a0bd5deb2 (diff)
downloadpkgsrc-3c2205681ad560de6d616415917b3bc68c287137.tar.gz
Fix patch for rubygems/dependency_installer.rb, noted by Joerg Sonnenberger
via private e-mail. Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby193-base/Makefile4
-rw-r--r--lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/ruby193-base/Makefile b/lang/ruby193-base/Makefile
index 1a9e2f3835c..d7e1b97ca39 100644
--- a/lang/ruby193-base/Makefile
+++ b/lang/ruby193-base/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.38 2014/02/19 15:50:53 taca Exp $
+# $NetBSD: Makefile,v 1.39 2014/02/22 03:23:10 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGPREFIX}-base-${RUBY_VERSION_FULL}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
diff --git a/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb b/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb
index 7a24816e64c..036e51e10bf 100644
--- a/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb
+++ b/lang/ruby193-base/patches/patch-lib_rubygems_dependency__installer.rb
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_rubygems_dependency__installer.rb,v 1.5 2014/02/19 15:50:53 taca Exp $
+$NetBSD: patch-lib_rubygems_dependency__installer.rb,v 1.6 2014/02/22 03:23:10 taca Exp $
Add install_root option for pkgsrc's rubygems support.
@@ -37,7 +37,7 @@ Add install_root option for pkgsrc's rubygems support.
- @cache_dir = options[:cache_dir] || @install_dir
+ @install_root = options[:install_root]
+ install_dir = @install_dir
-+ unless @install_root.nil? or @install_empty?
++ unless @install_root.nil? or @install_root.empty?
+ install_dir = File.join(@install_root, @install_dir)
+ end
+ @cache_dir = options[:cache_dir] || install_dir