summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-17 01:05:47 +0000
committerrillig <rillig@pkgsrc.org>2006-11-17 01:05:47 +0000
commite2e94b271909425b448c26f5c46e908dd144fcb9 (patch)
tree93d0f8dd0310de4752fc015e405178b440bd81db /mk
parentba470586c185ee456908cf7c1948317650baa238 (diff)
downloadpkgsrc-e2e94b271909425b448c26f5c46e908dd144fcb9.tar.gz
On Interix, the -c option of checkperms is disabled, as checkperms does
not know about Interix yet. This is a temporary work-around for PR 34968.
Diffstat (limited to 'mk')
-rw-r--r--mk/check/check-perms.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/check/check-perms.mk b/mk/check/check-perms.mk
index 908a0f2625a..ea2766558a5 100644
--- a/mk/check/check-perms.mk
+++ b/mk/check/check-perms.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-perms.mk,v 1.4 2006/11/12 00:44:24 rillig Exp $
+# $NetBSD: check-perms.mk,v 1.5 2006/11/17 01:05:47 rillig Exp $
#
# This file checks that after installation of a package, all files and
# directories of that package have sensible permissions set.
@@ -28,7 +28,11 @@ CHECK_PERMS?= no
CHECK_PERMS_SKIP?= # none
CHECK_PERMS_AUTOFIX?= no
-.if !empty(CHECK_PERMS_AUTOFIX:M[Yy][Ee][Ss])
+# The checkperms command does not yet support Interix with the -c flag.
+# See PR 34968.
+.if !empty(MACHINE_PLATFORM:MInterix-*-*)
+_CHECK_PERMS_FLAGS=
+.elif !empty(CHECK_PERMS_AUTOFIX:M[Yy][Ee][Ss])
_CHECK_PERMS_FLAGS= -cff
.else
_CHECK_PERMS_FLAGS= -c