summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2009-04-07 21:06:54 +0000
committerseb <seb@pkgsrc.org>2009-04-07 21:06:54 +0000
commitd1e8992866577efa529dbe71fe22820489c04c3e (patch)
tree48703e08ce38f7e21ad16655788af16fa5dbec3f /archivers
parentffaa59cfe22833026792bf5b8d3a20c54f97788b (diff)
downloadpkgsrc-d1e8992866577efa529dbe71fe22820489c04c3e.tar.gz
Fix minitar script: require_gem method is deprecated since RubyGems
0.9.0 and had been removed since RubyGems 1.0.0, use gem method instead. Bump PKGREVISION to 1.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-archive-tar-minitar/Makefile3
-rw-r--r--archivers/ruby-archive-tar-minitar/distinfo3
-rw-r--r--archivers/ruby-archive-tar-minitar/patches/patch-aa16
3 files changed, 20 insertions, 2 deletions
diff --git a/archivers/ruby-archive-tar-minitar/Makefile b/archivers/ruby-archive-tar-minitar/Makefile
index 599cec556b1..e7733c61996 100644
--- a/archivers/ruby-archive-tar-minitar/Makefile
+++ b/archivers/ruby-archive-tar-minitar/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2008/08/15 16:03:51 taca Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/07 21:06:54 seb Exp $
DISTNAME= archive-tar-minitar-0.5.2
+PKGREVISION= 1
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= graphics
diff --git a/archivers/ruby-archive-tar-minitar/distinfo b/archivers/ruby-archive-tar-minitar/distinfo
index 9f4447d4316..3a38500ab10 100644
--- a/archivers/ruby-archive-tar-minitar/distinfo
+++ b/archivers/ruby-archive-tar-minitar/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:13:23 jlam Exp $
+$NetBSD: distinfo,v 1.2 2009/04/07 21:06:54 seb Exp $
SHA1 (archive-tar-minitar-0.5.2.gem) = 00002e37dba2de3022236b93a2a01d2d5582b97d
RMD160 (archive-tar-minitar-0.5.2.gem) = e8d5eb202aae8f76010464baa1255b37a70da9e3
Size (archive-tar-minitar-0.5.2.gem) = 23040 bytes
+SHA1 (patch-aa) = 1cebf4219c0aa9336cf859b68a0bf7566494d55c
diff --git a/archivers/ruby-archive-tar-minitar/patches/patch-aa b/archivers/ruby-archive-tar-minitar/patches/patch-aa
new file mode 100644
index 00000000000..7891bd60455
--- /dev/null
+++ b/archivers/ruby-archive-tar-minitar/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2009/04/07 21:06:54 seb Exp $
+
+require_gem is deprecated since RubyGems 0.9.0 and
+"removed" since RubyGems 1.0.0
+
+--- bin/minitar.orig 2009-04-05 00:40:32.000000000 +0000
++++ bin/minitar
+@@ -16,7 +16,7 @@
+ # 2) Try to load Archive::Tar::Minitar from $LOAD_PATH.
+ begin
+ require 'rubygems'
+- require_gem 'archive-tar-minitar', '= 0.5.2'
++ gem 'archive-tar-minitar', '= 0.5.2'
+ rescue LoadError
+ nil
+ end