summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-04-12 20:49:12 +0000
committerjlam <jlam@pkgsrc.org>2006-04-12 20:49:12 +0000
commit9a708b4e8430dd494bd998c2e907b7867ae35ef5 (patch)
tree328eb98793cf6aa25078418878ffd74a7a12b62d /mk
parenta5fe85af40734bcfc57ff87c0045a48690d1d31a (diff)
downloadpkgsrc-9a708b4e8430dd494bd998c2e907b7867ae35ef5.tar.gz
If the info file doesn't exist on the disk, we should still output an
entry for it in the final PLIST. This allows us to locate info files in the PLIST that aren't on the system during the CHECK_FILES stage.
Diffstat (limited to 'mk')
-rw-r--r--mk/plist/plist-info.awk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/plist/plist-info.awk b/mk/plist/plist-info.awk
index bf298d62185..6dfa63c0b1c 100644
--- a/mk/plist/plist-info.awk
+++ b/mk/plist/plist-info.awk
@@ -1,4 +1,4 @@
-# $NetBSD: plist-info.awk,v 1.10 2006/03/20 01:48:58 jlam Exp $
+# $NetBSD: plist-info.awk,v 1.11 2006/04/12 20:49:12 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -121,6 +121,13 @@ BEGIN {
print_entry($0)
}
close(cmd)
+ } else {
+ #if ((MANZ ~ /[yY][eE][sS]/) && ($0 !~ /\.gz$/)) {
+ # $0 = $0 ".gz"
+ #} else if ((MANZ !~ /[yY][eE][sS]/) && ($0 ~ /\.gz$/)) {
+ # sub("\\.gz$", "")
+ #}
+ print_entry($0)
}
next
}