diff options
author | taca <taca@pkgsrc.org> | 2010-09-10 04:56:04 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-10 04:56:04 +0000 |
commit | 2bdc0fe5c8e5fe7a40c9d72835dcd79301c405b4 (patch) | |
tree | 11af248d6875c245256984965c73660e1fe90025 | |
parent | 1c977623aae95de1fa7ad939bc5d5ed8dd4a7d85 (diff) | |
download | pkgsrc-2bdc0fe5c8e5fe7a40c9d72835dcd79301c405b4.tar.gz |
* Avoid to use "ftools" which has deprecated in ruby19.
-rw-r--r-- | databases/ruby-tokyotyrant/distinfo | 4 | ||||
-rw-r--r-- | databases/ruby-tokyotyrant/patches/patch-aa | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/databases/ruby-tokyotyrant/distinfo b/databases/ruby-tokyotyrant/distinfo index 925cd764c8a..2e386a0ed74 100644 --- a/databases/ruby-tokyotyrant/distinfo +++ b/databases/ruby-tokyotyrant/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2010/01/17 02:54:16 obache Exp $ +$NetBSD: distinfo,v 1.14 2010/09/10 04:56:04 taca Exp $ SHA1 (tokyotyrant-ruby-1.13.tar.gz) = 519fe95fe846bc741fffe0034f81d2dac48c97ce RMD160 (tokyotyrant-ruby-1.13.tar.gz) = 52579fca8a469472ff8d6d847ce88a78f8849ec8 Size (tokyotyrant-ruby-1.13.tar.gz) = 47663 bytes -SHA1 (patch-aa) = 0c00ced973f8d45922123495361f17588a5fd820 +SHA1 (patch-aa) = ae47703873f1f82cb179152b5df3190c7dac278c diff --git a/databases/ruby-tokyotyrant/patches/patch-aa b/databases/ruby-tokyotyrant/patches/patch-aa index 0704df247bb..c2130c41ed1 100644 --- a/databases/ruby-tokyotyrant/patches/patch-aa +++ b/databases/ruby-tokyotyrant/patches/patch-aa @@ -1,10 +1,12 @@ -$NetBSD: patch-aa,v 1.2 2008/12/07 11:37:53 obache Exp $ +$NetBSD: patch-aa,v 1.3 2010/09/10 04:56:04 taca Exp $ + +Add support for DESTDIR. --- install.rb.orig 2008-10-22 15:53:45.000000000 +0000 +++ install.rb @@ -1,10 +1,15 @@ require 'rbconfig' -+require 'ftools' ++require 'fileutils' sitelibdir = Config::CONFIG.fetch("sitelibdir") bindir = Config::CONFIG.fetch("bindir") @@ -14,7 +16,7 @@ $NetBSD: patch-aa,v 1.2 2008/12/07 11:37:53 obache Exp $ + dest = File.join(destdir, dest) + end p dest -+ File::makedirs(File.dirname(dest)) ++ FileUtils::mkdir_p(File.dirname(dest)) open(src, "rb") do |infile| open(dest, "wb") do |outfile| while buf = infile.read(8192) |