summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-09-27 13:57:12 +0000
committerrillig <rillig@pkgsrc.org>2007-09-27 13:57:12 +0000
commit3e6363f13db7b32fd3a38f55d823936df075ea71 (patch)
tree9b8bd38e59cd1d88876ec426c8b4dfb74896987b /mk
parentdfcb17cf7fba87478a682ffc20bbb62cc99a1c0c (diff)
downloadpkgsrc-3e6363f13db7b32fd3a38f55d823936df075ea71.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')
-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.