diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-18 00:51:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-18 00:51:30 +0000 |
commit | 5ad394bbd5631b8e5f1e92a4bc5751d78e9b23cd (patch) | |
tree | fabd525c48cf3e3d567517d066ec6c80d74eee98 | |
parent | d524bdef8ef3ff64c6e4e2ffa5b62e7850ecde2e (diff) | |
download | pkgsrc-5ad394bbd5631b8e5f1e92a4bc5751d78e9b23cd.tar.gz |
We only need the special PLIST info-file handling if we're using static
PLISTs. Dynamic PLISTs automatically list the installed info files in the
PLIST.
-rw-r--r-- | mk/bsd.pkg.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 32016454bc3..933171a24f0 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1345 2004/01/14 06:57:45 rh Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1346 2004/01/18 00:51:30 jlam Exp $ # # This file is in the public domain. # @@ -4918,8 +4918,9 @@ _PLIST_AWK_IMAKE_MAN= \ # XXX When all info file entries will be removed from PLIST files # the non-BEGIN pattern-action statements generated below will be retired. _PLIST_AWK_INFO= -.if !empty(INFO_FILES) -. for _f_ in ${INFO_FILES} +.if ${PLIST_TYPE} == "static" +. if !empty(INFO_FILES) +. for _f_ in ${INFO_FILES} _PLIST_AWK_INFO+= \ BEGIN { \ cmd="${_f_}"; gsub("'\''", "\\'\''", cmd); \ @@ -4934,7 +4935,8 @@ BEGIN { \ close(cmd); \ } \ /^${INFO_DIR:S|/|\\/|g}\/${_f_}(-[0-9]+)?$$/ { next; } -. endfor +. endfor +. endif .endif # _PLIST_AWK_SCRIPT hold the complete awk script for plist target. |