summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-03-08 15:32:52 +0000
committerwiz <wiz@pkgsrc.org>2013-03-08 15:32:52 +0000
commit7f13a00a45ebc845054c35892ab7562ee69e2e5b (patch)
treea99e2aae42c990c3669b1cdf6902d82f2788f390 /mk
parent778c8380616fc2927a2882b5c10a7cb6f2432f02 (diff)
downloadpkgsrc-7f13a00a45ebc845054c35892ab7562ee69e2e5b.tar.gz
Add DESTDIR to error message in case of PLIST mismatch.
Noted by Edgar Fuß.
Diffstat (limited to 'mk')
-rw-r--r--mk/check/check-files.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-files.mk b/mk/check/check-files.mk
index 798d7a856f1..805f47013c4 100644
--- a/mk/check/check-files.mk
+++ b/mk/check/check-files.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-files.mk,v 1.28 2012/05/22 07:59:31 marino Exp $
+# $NetBSD: check-files.mk,v 1.29 2013/03/08 15:32:52 wiz Exp $
#
# This file checks that the list of installed files matches the PLIST.
# For that purpose it records the file list of LOCALBASE before and
@@ -310,14 +310,14 @@ ${_CHECK_FILES_ERRMSG.prefix}: \
if ${_NONZERO_FILESIZE_P} ${_CHECK_FILES_MISSING_REAL}; then \
${ECHO} "************************************************************"; \
${ECHO} "The following files are in the" \
- "PLIST but not in ${PREFIX}:"; \
+ "PLIST but not in ${DESTDIR}${PREFIX}:"; \
${SED} "s|^| |" ${_CHECK_FILES_MISSING_REAL}; \
fi >> ${.TARGET}
${RUN} \
if ${_NONZERO_FILESIZE_P} ${_CHECK_FILES_EXTRA}; then \
${ECHO} "************************************************************"; \
${ECHO} "The following files are in" \
- "${PREFIX} but not in the PLIST:"; \
+ "${DESTDIR}${PREFIX} but not in the PLIST:"; \
${SED} "s|^| |" ${_CHECK_FILES_EXTRA}; \
fi >> ${.TARGET}
${RUN} \