pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/plist If the info file doesn't exist on the disk, w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ea41dac3607
branches:  trunk
changeset: 511294:0ea41dac3607
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Apr 12 20:49:12 2006 +0000

description:
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:

 mk/plist/plist-info.awk |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r fe78c50d3984 -r 0ea41dac3607 mk/plist/plist-info.awk
--- a/mk/plist/plist-info.awk   Wed Apr 12 20:43:37 2006 +0000
+++ b/mk/plist/plist-info.awk   Wed Apr 12 20:49:12 2006 +0000
@@ -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 @@
                        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
 }



Home | Main Index | Thread Index | Old Index