summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-05-10 16:54:05 +0000
committerjperkin <jperkin@pkgsrc.org>2016-05-10 16:54:05 +0000
commit095bc92ee5dd60713c11c9fc6dfef0adfc10b042 (patch)
treee756c4674be02c320d3e38e9f11f382248bb130c /mk
parent763c070a1d8adb6accb0c7322af1e51a2e9304e3 (diff)
downloadpkgsrc-095bc92ee5dd60713c11c9fc6dfef0adfc10b042.tar.gz
Restore print-PLIST @pkgdir functionality. This was lost in the @dirrm
cleanup as the implicit print action was removed.
Diffstat (limited to 'mk')
-rw-r--r--mk/plist/print-plist.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index 72db6895f7b..58d6dbf81b5 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.29 2016/05/04 11:17:41 jperkin Exp $
+# $NetBSD: print-plist.mk,v 1.30 2016/05/10 16:54:05 jperkin Exp $
###
### Automatic PLIST generation
@@ -139,7 +139,8 @@ print-PLIST:
{ sub("^${PKGINFODIR}/", "info/"); } \
{ sub("^${PKGMANDIR}/", "man/"); } \
/^${PKG_DBDIR:S|^${PREFIX}/||:S|/|\\/|g}(\/|$$)/ { next; } \
- /^${PKGINFODIR:S|/|\\/|g}$$/ { next; }'` ; \
+ /^${PKGINFODIR:S|/|\\/|g}$$/ { next; } \
+ { print $$0; }'` ; \
do \
if [ `${LS} -la ${DESTDIR}${PREFIX}/$$i | ${WC} -l` = 3 ]; then \
${ECHO} @pkgdir $$i | ${AWK} ' \