Trying to fix run time problem noted by joerg@.

Bump PKGREVISION.
This commit is contained in:
taca 2015-06-08 16:47:54 +00:00
parent 82ef2c2028
commit e6fbcccaff
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.38 2015/06/04 13:53:32 taca Exp $
# $NetBSD: Makefile,v 1.39 2015/06/08 16:47:54 taca Exp $
DISTNAME= rdtool-0.6.38
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= textproc ruby
MAINTAINER= taca@NetBSD.org

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.21 2015/06/04 13:53:32 taca Exp $
$NetBSD: distinfo,v 1.22 2015/06/08 16:47:54 taca Exp $
SHA1 (rdtool-0.6.38.gem) = 10a9a241f8360ac937611b6597ed0aaca3e65c07
RMD160 (rdtool-0.6.38.gem) = 5b4efcaefb504f1c82a052c69d7d7434358aa818
Size (rdtool-0.6.38.gem) = 115712 bytes
SHA1 (patch-ae) = c2c6247a5705733f4a4e41b81f7fac61d897f089
SHA1 (patch-ae) = 4bac026ae88f24ab623bc4878a9efe313a8e0aef

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ae,v 1.2 2015/06/04 13:53:32 taca Exp $
$NetBSD: patch-ae,v 1.3 2015/06/08 16:47:54 taca Exp $
* Try load from PKG_SYSCONFDIR/dot.rd2rc.
* Depend on $0 strictly.
@ -32,7 +32,7 @@ $NetBSD: patch-ae,v 1.2 2015/06/04 13:53:32 taca Exp $
# require format lib implicitly
-if /rd2.+/ =~ File.basename($0, ".*").downcase
- visitor_lib = "rd/" + $& + "-lib.rb"
+if /rd2[0-9]*([a-z-]*).*/ =~ File.basename($0, ".*").downcase
+if /rd2[0-9]*([a-z-]+).*/ =~ File.basename($0, ".*").downcase
+ visitor_lib = "rd/rd2" + $1 + "-lib.rb"
require visitor_lib
require $RD2_Sub_OptionParser if $RD2_Sub_OptionParser