pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/revbump Escape some { for perl-5.22. Bump ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8015999dedc
branches:  trunk
changeset: 348161:e8015999dedc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jun 08 18:02:43 2016 +0000

description:
Escape some { for perl-5.22. Bump version.

diffstat:

 pkgtools/revbump/Makefile                 |  5 ++---
 pkgtools/revbump/files/replace-commonbump |  6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r a136f904e004 -r e8015999dedc pkgtools/revbump/Makefile
--- a/pkgtools/revbump/Makefile Wed Jun 08 17:49:19 2016 +0000
+++ b/pkgtools/revbump/Makefile Wed Jun 08 18:02:43 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2015/06/12 10:50:56 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2016/06/08 18:02:43 wiz Exp $
 
-PKGNAME=               revbump-2.11
-PKGREVISION=           1
+PKGNAME=               revbump-2.12
 CATEGORIES=            pkgtools
 
 MAINTAINER=            wiz%NetBSD.org@localhost
diff -r a136f904e004 -r e8015999dedc pkgtools/revbump/files/replace-commonbump
--- a/pkgtools/revbump/files/replace-commonbump Wed Jun 08 17:49:19 2016 +0000
+++ b/pkgtools/revbump/files/replace-commonbump Wed Jun 08 18:02:43 2016 +0000
@@ -121,11 +121,11 @@
                if ( $included =~ m|options.mk| )       { next;}
                if ( $included =~ m|enigmail.mk| )      { next;}
 
-               $included =~ s,\${.CURDIR},$shortname,;
-               if ($included =~ /\${([^}]+)}/ ) { 
+               $included =~ s,\$\{.CURDIR},$shortname,;
+               if ($included =~ /\$\{([^}]+)}/ ) { 
                    my($varname) = $1;
                    my($value) = show_var($varname, $shortdir);
-                   $included =~ s/\${[^}]+}/$value/;
+                   $included =~ s/\$\{[^}]+}/$value/;
                    if ($value eq '') {
                        print STDERR 
 $FILE, ': ', __LINE__, ' Value ${', $varname, '} is empty at ', $shortdir, "\n";



Home | Main Index | Thread Index | Old Index