pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/revbump



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Nov 17 00:20:28 UTC 2022

Modified Files:
        pkgsrc/pkgtools/revbump: Makefile
        pkgsrc/pkgtools/revbump/files: check-cvs-diff

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/pkgtools/revbump/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/revbump/files/check-cvs-diff

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/revbump/Makefile
diff -u pkgsrc/pkgtools/revbump/Makefile:1.46 pkgsrc/pkgtools/revbump/Makefile:1.47
--- pkgsrc/pkgtools/revbump/Makefile:1.46       Sat Nov 12 11:26:20 2022
+++ pkgsrc/pkgtools/revbump/Makefile    Thu Nov 17 00:20:28 2022
@@ -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

Index: pkgsrc/pkgtools/revbump/files/check-cvs-diff
diff -u pkgsrc/pkgtools/revbump/files/check-cvs-diff:1.3 pkgsrc/pkgtools/revbump/files/check-cvs-diff:1.4
--- pkgsrc/pkgtools/revbump/files/check-cvs-diff:1.3    Sun Mar  8 17:06:16 2020
+++ pkgsrc/pkgtools/revbump/files/check-cvs-diff        Thu Nov 17 00:20:28 2022
@@ -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 @@ sub main() {
                #           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