summaryrefslogtreecommitdiff
path: root/pkgtools/revbump
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-11-17 00:20:28 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-11-17 00:20:28 +0000
commit739087b5a158e08a2fde0a2d4798ec38a7167979 (patch)
treea4d203616ad894558d4be5470d3b533a735a84d5 /pkgtools/revbump
parent3992d646fb40f2c0fc048fb1fad7feaa1d95c7fe (diff)
downloadpkgsrc-739087b5a158e08a2fde0a2d4798ec38a7167979.tar.gz
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 (limited to 'pkgtools/revbump')
-rw-r--r--pkgtools/revbump/Makefile4
-rw-r--r--pkgtools/revbump/files/check-cvs-diff4
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/revbump/Makefile b/pkgtools/revbump/Makefile
index bc75b275117..214b178b15f 100644
--- a/pkgtools/revbump/Makefile
+++ b/pkgtools/revbump/Makefile
@@ -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
diff --git a/pkgtools/revbump/files/check-cvs-diff b/pkgtools/revbump/files/check-cvs-diff
index 8049e411a1e..eeefa448dd2 100644
--- a/pkgtools/revbump/files/check-cvs-diff
+++ b/pkgtools/revbump/files/check-cvs-diff
@@ -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++;}