summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorseb <seb>2006-05-14 14:27:41 +0000
committerseb <seb>2006-05-14 14:27:41 +0000
commit898ab957e4840cdd343224271b41290fd0b4990f (patch)
treefa678c82953e3f1a1e42587916ac74b1948dacca /mk
parentcc82acfcc5e1d87f66b550704556bdd004ab08e0 (diff)
downloadpkgsrc-898ab957e4840cdd343224271b41290fd0b4990f.tar.gz
Re-add ${PREFIX} to the list of directories print-PLIST target
should ignore or it is broken for packages that installing files right under ${PREFIX}. Example in lang/sun-jre15: $ make print-PLIST ... @dirrm java/sun-1.5 ls: /usr/pkg//usr/pkg/.: No such file or directory @dirrm /usr/pkg/. $ It looks to me that was removed by mistake in revision 1.5 of this file.
Diffstat (limited to 'mk')
-rw-r--r--mk/plist/print-plist.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index 19c0a7477a7..329d63f3c28 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.7 2006/05/09 21:37:33 minskim Exp $
+# $NetBSD: print-plist.mk,v 1.8 2006/05/14 14:27:41 seb Exp $
###
### Automatic PLIST generation
@@ -153,6 +153,7 @@ print-PLIST:
| ${SORT} -r \
| ${AWK} ' \
/emul\/linux\/proc/ { next; } \
+ /${PREFIX:S|/|\\/|g}\/\.$$/ { next; } \
/${PKG_DBDIR:S|/|\\/|g}\// { next; } \
{ sub("${PREFIX}/\\\\./", ""); } \
{ sub("^${PKGINFODIR}/", "info/"); } \