summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-04-10 15:58:02 +0000
committerjoerg <joerg@pkgsrc.org>2016-04-10 15:58:02 +0000
commita497b4efbc4f2224de42dbe984d4ba19106f256d (patch)
treeca139b801ca51ee063165400f44be14eed94369e /mk/plist
parentb6b9f4a1e6d214b96f03df58daa363d33e5e9f93 (diff)
downloadpkgsrc-a497b4efbc4f2224de42dbe984d4ba19106f256d.tar.gz
Remove support for USE_DESTDIR=no.
Diffstat (limited to 'mk/plist')
-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?= \