summaryrefslogtreecommitdiff
path: root/mk/pkgformat/pkg/pkgformat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/pkgformat/pkg/pkgformat.mk')
-rw-r--r--mk/pkgformat/pkg/pkgformat.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/mk/pkgformat/pkg/pkgformat.mk b/mk/pkgformat/pkg/pkgformat.mk
index 5bf736fe4e4..34b304644e6 100644
--- a/mk/pkgformat/pkg/pkgformat.mk
+++ b/mk/pkgformat/pkg/pkgformat.mk
@@ -1,19 +1,13 @@
-# $NetBSD: pkgformat.mk,v 1.2 2014/12/30 15:13:20 wiz Exp $
+# $NetBSD: pkgformat.mk,v 1.3 2016/04/10 15:58:03 joerg Exp $
#
# This Makefile fragment provides variable and target overrides that are
# specific to the pkgsrc native package format.
#
-# PKG_FILELIST_CMD outputs the list of files owned by ${PKGNAME} as
-# registered on the system.
+# PKG_FILELIST_CMD outputs the list of files in the package based on
+# _DEPENDS_PLIST.
#
-# For DESTDIR support, just use _DEPENDS_PLIST instead.
-#
-.if ${_USE_DESTDIR} == "no"
-PKG_FILELIST_CMD= ${PKG_INFO} -qL ${PKGNAME:Q}
-.else
PKG_FILELIST_CMD= ${SED} -e "/^@/d" -e "s|^|${PREFIX}/|" ${_DEPENDS_PLIST}
-.endif
.include "depends.mk"
.include "check.mk"