summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig>2007-09-27 13:57:12 +0000
committerrillig <rillig>2007-09-27 13:57:12 +0000
commit21c8cc4354b55609f67aac0c43f445da9791d4bd (patch)
tree9b8bd38e59cd1d88876ec426c8b4dfb74896987b /mk/check
parent889cf56972b9851e4fed31a0cf66749339d4cc0c (diff)
downloadpkgsrc-21c8cc4354b55609f67aac0c43f445da9791d4bd.tar.gz
Even though VARBASE is sometimes below LOCALBASE, some users want to
check it. Don't prevent that in CHECK_FILES_STRICT=yes mode.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-files.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/check/check-files.mk b/mk/check/check-files.mk
index 09fab17ac27..f80c228db08 100644
--- a/mk/check/check-files.mk
+++ b/mk/check/check-files.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-files.mk,v 1.19 2007/09/12 10:22:53 rillig Exp $
+# $NetBSD: check-files.mk,v 1.20 2007/09/27 13:57:12 rillig 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
@@ -66,7 +66,9 @@ CHECK_FILES_SKIP+= ${PACKAGES}/.*
CHECK_FILES_SKIP+= ${DISTDIR}/.*
# For unprivileged builds, VARBASE is below LOCALBASE.
+.if !empty(CHECK_FILES_STRICT:M[Nn][Oo])
CHECK_FILES_SKIP+= ${VARBASE}/.*
+.endif
# File that are outside of ${PREFIX} in directories we already know we'll
# be using for mutable data.