summaryrefslogtreecommitdiff
path: root/mk/plist
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
commit694478afb83ce4e38b99df1ea480e65f5e969ee2 (patch)
tree328eb98793cf6aa25078418878ffd74a7a12b62d /mk/plist
parenta7979cc51aa2937a9aa07c046f6ed23b0a6ad281 (diff)
downloadpkgsrc-694478afb83ce4e38b99df1ea480e65f5e969ee2.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/plist')
-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
}