pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/plist For DESTDIR operation, no need to filter out ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/24712e9f84ea
branches: trunk
changeset: 532465:24712e9f84ea
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Aug 20 10:59:53 2007 +0000
description:
For DESTDIR operation, no need to filter out old files.
diffstat:
mk/plist/print-plist.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r aaecca6528f8 -r 24712e9f84ea mk/plist/print-plist.mk
--- a/mk/plist/print-plist.mk Mon Aug 20 10:59:05 2007 +0000
+++ b/mk/plist/print-plist.mk Mon Aug 20 10:59:53 2007 +0000
@@ -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 @@
# 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?= \
Home |
Main Index |
Thread Index |
Old Index