diff options
author | obache <obache@pkgsrc.org> | 2008-12-07 11:37:53 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-12-07 11:37:53 +0000 |
commit | d9ca07c67467e23bda720fb2bbc7e801c45e3765 (patch) | |
tree | 09cd4e4843fb47807e665c5588275eababffcd0d /databases/ruby-tokyotyrant | |
parent | c556efa53db73a140590278a7e0c0aae7f2fd50d (diff) | |
download | pkgsrc-d9ca07c67467e23bda720fb2bbc7e801c45e3765.tar.gz |
Update ruby-tokyotyrant to 1.1, for tokyotyrant-1.1.9.
Diffstat (limited to 'databases/ruby-tokyotyrant')
-rw-r--r-- | databases/ruby-tokyotyrant/Makefile | 6 | ||||
-rw-r--r-- | databases/ruby-tokyotyrant/distinfo | 11 | ||||
-rw-r--r-- | databases/ruby-tokyotyrant/patches/patch-aa | 10 | ||||
-rw-r--r-- | databases/ruby-tokyotyrant/patches/patch-ab | 13 |
4 files changed, 28 insertions, 12 deletions
diff --git a/databases/ruby-tokyotyrant/Makefile b/databases/ruby-tokyotyrant/Makefile index 600b1cca23d..84992b9426e 100644 --- a/databases/ruby-tokyotyrant/Makefile +++ b/databases/ruby-tokyotyrant/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $ +# $NetBSD: Makefile,v 1.2 2008/12/07 11:37:53 obache Exp $ # -DISTNAME= tokyotyrant-ruby-1.0 +DISTNAME= tokyotyrant-ruby-1.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/} CATEGORIES= databases ruby MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tokyocabinet/} @@ -17,7 +17,7 @@ USE_TOOLS+= pax NO_BUILD= yes USE_RUBY_INSTALL= yes -REPLACE_RUBY= tcrtest.rb +REPLACE_RUBY= tcrtest.rb test.rb DOCDIR= share/tokytyrant/doc/ruby RUBY_DYNAMIC_DIRS= ${DOCDIR} diff --git a/databases/ruby-tokyotyrant/distinfo b/databases/ruby-tokyotyrant/distinfo index edb6d54d71e..e2980ee7b9f 100644 --- a/databases/ruby-tokyotyrant/distinfo +++ b/databases/ruby-tokyotyrant/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $ +$NetBSD: distinfo,v 1.2 2008/12/07 11:37:53 obache Exp $ -SHA1 (tokyotyrant-ruby-1.0.tar.gz) = 7922ed5240f949a2310901ac1bb307689f528051 -RMD160 (tokyotyrant-ruby-1.0.tar.gz) = 8f9af33ceea41a4a8037e783bab635a1d1443d62 -Size (tokyotyrant-ruby-1.0.tar.gz) = 33953 bytes -SHA1 (patch-aa) = afcc9638de5c103bd30948450dc10a6c8b208a86 +SHA1 (tokyotyrant-ruby-1.1.tar.gz) = 4491973611c81a46b0046e8090bf24df0433ffa8 +RMD160 (tokyotyrant-ruby-1.1.tar.gz) = 12189a91bf9f0001345343e9d6a6a21ebf2466a6 +Size (tokyotyrant-ruby-1.1.tar.gz) = 34251 bytes +SHA1 (patch-aa) = 0c00ced973f8d45922123495361f17588a5fd820 +SHA1 (patch-ab) = a6ab8c54e82751a466ffd64e08139b7a2926ce38 diff --git a/databases/ruby-tokyotyrant/patches/patch-aa b/databases/ruby-tokyotyrant/patches/patch-aa index 3cb74733cdc..0704df247bb 100644 --- a/databases/ruby-tokyotyrant/patches/patch-aa +++ b/databases/ruby-tokyotyrant/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $ +$NetBSD: patch-aa,v 1.2 2008/12/07 11:37:53 obache Exp $ ---- install.rb.orig 2008-10-26 08:13:27.000000000 +0000 +--- install.rb.orig 2008-10-22 15:53:45.000000000 +0000 +++ install.rb -@@ -1,10 +1,13 @@ +@@ -1,10 +1,15 @@ require 'rbconfig' +require 'ftools' @@ -10,8 +10,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/10/26 11:43:50 obache Exp $ bindir = Config::CONFIG.fetch("bindir") def copy(src, dest, mode) ++ if (destdir = ENV['DESTDIR']) ++ dest = File.join(destdir, dest) ++ end p dest -+ dest = File.join(ENV['DESTDIR'], dest) + File::makedirs(File.dirname(dest)) open(src, "rb") do |infile| open(dest, "wb") do |outfile| diff --git a/databases/ruby-tokyotyrant/patches/patch-ab b/databases/ruby-tokyotyrant/patches/patch-ab new file mode 100644 index 00000000000..7c80da82f6f --- /dev/null +++ b/databases/ruby-tokyotyrant/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2008/12/07 11:38:34 obache Exp $ + +--- test.rb.orig 2008-12-07 05:27:22.000000000 +0000 ++++ test.rb +@@ -13,7 +13,7 @@ commands = [ + ] + num = 1 + commands.each do |command| +- rv = system("/usr/bin/ruby #{command} >/dev/null") ++ rv = system("ruby #{command} >/dev/null") + if rv + printf("%03d/%03d: %s: ok\n", num, commands.size, command) + else |