summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-20 10:59:53 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-20 10:59:53 +0000
commit961f2e2499505888a4015775d81fbd444c6e1cd1 (patch)
tree4f095fdb200feda9d8c5198fdb97cf00a1902e1d /mk/plist
parent651f00f91ea2c0c8607d225b0e5306a6ed9368c7 (diff)
downloadpkgsrc-961f2e2499505888a4015775d81fbd444c6e1cd1.tar.gz
For DESTDIR operation, no need to filter out old files.
Diffstat (limited to 'mk/plist')
-rw-r--r--mk/plist/print-plist.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index ff2daa0e58b..f523f0c3069 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.14 2007/07/31 19:51:01 jlam Exp $
+# $NetBSD: print-plist.mk,v 1.15 2007/08/20 10:59:53 joerg Exp $
###
### Automatic PLIST generation
@@ -95,10 +95,17 @@ _PRINT_PLIST_COMMON_DIRS!= ${AWK} 'BEGIN { \
# XXX will fail for data files that were copied using tar (e.g. emacs)!
# XXX should check $LOCALBASE and $X11BASE, and add @cwd statements
+.if ${_USE_DESTDIR} == "no"
_PRINT_PLIST_FILES_CMD= \
${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} \! -type d -print
_PRINT_PLIST_DIRS_CMD= \
${FIND} ${DESTDIR}${PREFIX}/. -xdev -newer ${_COOKIE.extract} -type d -print
+.else
+_PRINT_PLIST_FILES_CMD= \
+ ${FIND} ${DESTDIR}${PREFIX}/. \! -type d -print
+_PRINT_PLIST_DIRS_CMD= \
+ ${FIND} ${DESTDIR}${PREFIX}/. -type d -print
+.endif
.if !empty(LIBTOOLIZE_PLIST:M[yY][eE][sS])
_PRINT_PLIST_LIBTOOLIZE_FILTER?= \