summaryrefslogtreecommitdiff
path: root/mk/plist/print-plist.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/plist/print-plist.mk')
-rw-r--r--mk/plist/print-plist.mk16
1 files changed, 3 insertions, 13 deletions
diff --git a/mk/plist/print-plist.mk b/mk/plist/print-plist.mk
index fa1f042f7b1..468b7465976 100644
--- a/mk/plist/print-plist.mk
+++ b/mk/plist/print-plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: print-plist.mk,v 1.27 2015/06/07 03:39:08 joerg Exp $
+# $NetBSD: print-plist.mk,v 1.28 2016/04/10 15:58:03 joerg Exp $
###
### Automatic PLIST generation
@@ -53,22 +53,12 @@ _PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/fonts\.scale/)
_PRINT_PLIST_AWK_IGNORE+= || ($$0 ~ /^.*\/fonts\.cache-1/)
.endif
-# scan $PREFIX for any files/dirs modified since the package was extracted
-# will emit "@exec mkdir"-statements for empty directories
-# 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
+# List the content of $PREFIX and emit "@pkgdir " statements for
+# empty directories.
_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?= \