pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_chk Update pkg_chk to 1.48
details: https://anonhg.NetBSD.org/pkgsrc/rev/5926c9b60d56
branches: trunk
changeset: 475069:5926c9b60d56
user: abs <abs%pkgsrc.org@localhost>
date: Sun May 09 17:56:17 2004 +0000
description:
Update pkg_chk to 1.48
Fix awk usage for nawk in 2.0
diffstat:
pkgtools/pkg_chk/Makefile | 4 ++--
pkgtools/pkg_chk/files/pkg_chk.sh | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r 6b29ee0af2fd -r 5926c9b60d56 pkgtools/pkg_chk/Makefile
--- a/pkgtools/pkg_chk/Makefile Sun May 09 17:46:01 2004 +0000
+++ b/pkgtools/pkg_chk/Makefile Sun May 09 17:56:17 2004 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2004/04/13 14:36:23 abs Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/09 17:56:17 abs Exp $
-DISTNAME= pkg_chk-1.47
+DISTNAME= pkg_chk-1.48
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 6b29ee0af2fd -r 5926c9b60d56 pkgtools/pkg_chk/files/pkg_chk.sh
--- a/pkgtools/pkg_chk/files/pkg_chk.sh Sun May 09 17:46:01 2004 +0000
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh Sun May 09 17:56:17 2004 +0000
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.4 2004/04/13 14:36:23 abs Exp $
+# $Id: pkg_chk.sh,v 1.5 2004/05/09 17:56:17 abs Exp $
#
# TODO: Handle updates with dependencies via binary packages
@@ -473,7 +473,7 @@
taglist["*"] = "*"
}
function and_expr_with_dict(expr, dict, ary, i, r) {
- split(expr,ary,/\\+/);
+ split(expr,ary,/\+/);
r = 1;
for (i in ary)
if (! (ary[i] in dict))
@@ -487,7 +487,7 @@
need = 0;
for (f = 1 ; f<=NF ; ++f) { # For each word on the line
if (sub("^-", "", $f)) { # If it begins with a '-'
- if ($f ~ /\\+/) { # If it is a ANDed tag expression
+ if ($f ~ /\+/) { # If it is a ANDed tag expression
if (and_expr_with_dict($f, taglist))
next; # If it is true, discard
} else { # If it is a simple tag
@@ -495,7 +495,7 @@
next;
}
} else {
- if ($f ~ /\\+/) { # If it is a ANDed tag expression
+ if ($f ~ /\+/) { # If it is a ANDed tag expression
if (and_expr_with_dict($f, taglist))
need = 1; # If it is true, note needed
} else { # If it is a simple tag
Home |
Main Index |
Thread Index |
Old Index