pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/check On Interix, the -c option of checkperms is di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fd6fdb42413
branches:  trunk
changeset: 521660:0fd6fdb42413
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 17 01:05:47 2006 +0000

description:
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:

 mk/check/check-perms.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r d7cd6de17433 -r 0fd6fdb42413 mk/check/check-perms.mk
--- a/mk/check/check-perms.mk   Thu Nov 16 22:06:18 2006 +0000
+++ b/mk/check/check-perms.mk   Fri Nov 17 01:05:47 2006 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index