summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrh <rh>2004-09-27 00:27:45 +0000
committerrh <rh>2004-09-27 00:27:45 +0000
commita91ce7ac3c946f1f6b0afcc73caa42fc0b214ee1 (patch)
tree244fa2df57c1d4e441f84338547fb3be47396492 /mk
parenta563b2d3f43f6bad43aaea77ce83fe505cff6b66 (diff)
downloadpkgsrc-a91ce7ac3c946f1f6b0afcc73caa42fc0b214ee1.tar.gz
In print-PLIST, handle '@exec ${MKDIR}' by PRINT_PLIST_AWK as well.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 09040b55305..6464144a252 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1500 2004/09/24 15:00:10 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1501 2004/09/27 00:27:45 rh Exp $
#
# This file is in the public domain.
#
@@ -4569,7 +4569,9 @@ print-PLIST:
${_PRINT_PLIST_COMMON_DIRS}'` ; \
do \
if [ `${LS} -la ${PREFIX}/$$i | ${WC} -l` = 3 ]; then \
- ${ECHO} @exec \$${MKDIR} %D/$$i ; \
+ ${ECHO} @exec \$${MKDIR} %D/$$i | ${AWK} ' \
+ ${PRINT_PLIST_AWK} \
+ { print $$0; }' ; \
fi ; \
${ECHO} @dirrm $$i | ${AWK} ' \
${PRINT_PLIST_AWK} \