pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/revbump revbump: correct an error message in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/66a6646c5124
branches:  trunk
changeset: 388319:66a6646c5124
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Thu Nov 17 00:20:28 2022 +0000

description:
revbump: correct an error message in check-cvs-diff

While here, also add an RCS ID to the file.

XXX the file is also missing its copyright header block.

diffstat:

 pkgtools/revbump/Makefile             |  4 ++--
 pkgtools/revbump/files/check-cvs-diff |  4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r b01c19df9676 -r 66a6646c5124 pkgtools/revbump/Makefile
--- a/pkgtools/revbump/Makefile Wed Nov 16 23:03:49 2022 +0000
+++ b/pkgtools/revbump/Makefile Thu Nov 17 00:20:28 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2022/11/12 11:26:20 gdt Exp $
+# $NetBSD: Makefile,v 1.47 2022/11/17 00:20:28 gutteridge Exp $
 
 PKGNAME=               revbump-2.15
-PKGREVISION=           4
+PKGREVISION=           5
 CATEGORIES=            pkgtools
 
 MAINTAINER=            wiz%NetBSD.org@localhost
diff -r b01c19df9676 -r 66a6646c5124 pkgtools/revbump/files/check-cvs-diff
--- a/pkgtools/revbump/files/check-cvs-diff     Wed Nov 16 23:03:49 2022 +0000
+++ b/pkgtools/revbump/files/check-cvs-diff     Thu Nov 17 00:20:28 2022 +0000
@@ -1,6 +1,8 @@
 #!@PERL@ -w
 # -*- perl -*-
 #
+# $NetBSD: check-cvs-diff,v 1.4 2022/11/17 00:20:28 gutteridge Exp $
+#
 # read output of (cd /usr/pkgsrc; cvs diff -u ) and check if
 # py* and ruby* strings are left in buildlink3.mk.
 # They are then modified to Variable representation.
@@ -65,7 +67,7 @@
                #           print __LINE__, ' ', $file_to_edit,"\n";
                my ($new_file) = $file_to_edit. '.new';
                my ($edit) = 0;
-               open(NEW,  "> $new_file" ) || print STDERR "Problem to write $edit: $! \n";
+               open(NEW,  "> $new_file" ) || print STDERR "Problem opening file $new_file: $! \n";
                open(EDIT, $file_to_edit ) || print STDERR "Problem opening file $file_to_edit: $! \n";
                while(<EDIT>) {
                    if ( /^BUILDLINK.*py27/ )    {  $_=~    s/py27/\${PYPKGPREFIX}/   ; $edit++;}



Home | Main Index | Thread Index | Old Index