pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/bootstrap Interix has the possibility of case-insensit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cb3bdc0222f
branches:  trunk
changeset: 470759:6cb3bdc0222f
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Mar 11 20:47:56 2004 +0000

description:
Interix has the possibility of case-insensitive filesystems too.  Add the
same check used for Darwin, and a doc fragment to README.Interix.

diffstat:

 bootstrap/README.Interix |  7 ++++++-
 bootstrap/bootstrap      |  6 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r c70b73da19fe -r 6cb3bdc0222f bootstrap/README.Interix
--- a/bootstrap/README.Interix  Thu Mar 11 20:45:16 2004 +0000
+++ b/bootstrap/README.Interix  Thu Mar 11 20:47:56 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.Interix,v 1.2 2004/03/11 17:09:37 tv Exp $
+$NetBSD: README.Interix,v 1.3 2004/03/11 20:47:56 tv Exp $
 
 Please read the general README file as well.
 
@@ -25,6 +25,11 @@
 need to be installed, but Remote Connectivity itself should be installed in
 order to have a working inetd.
 
+Last but not least, if the installer prompts whether to change the default
+POSIX behavior to case-sensitive, answer Yes.  If the filename handling
+remains as case-insensitive, then "bootstrap" will require the
+"--ignore-case-check" option.
+
 =====
 
 KNOWN CAVEATS
diff -r c70b73da19fe -r 6cb3bdc0222f bootstrap/bootstrap
--- a/bootstrap/bootstrap       Thu Mar 11 20:45:16 2004 +0000
+++ b/bootstrap/bootstrap       Thu Mar 11 20:47:56 2004 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.5 2004/03/11 19:45:09 tv Exp $
+# $NetBSD: bootstrap,v 1.6 2004/03/11 20:47:56 tv Exp $
 #
 #
 # Copyright (c) 2001-2002 Alistair G. Crooks.  All rights reserved.
@@ -371,7 +371,7 @@
 # make sure we're using a case-sensitive file system on Darwin
 if [ $ignorecasecheck = "no" ]; then
 case "$opsys" in
-Darwin)
+Darwin|Interix)
        echo_msg "Testing file system case sensitivity"
        for fs in "$prefix" "$pkgsrcdir"; do
                testdir="pkgsrc-REQUIRES-case-SENSITIVE-filesystem"
@@ -379,7 +379,7 @@
                mkdir_p "$fs/$testdir" || die "can't verify filesystem ($fs) case-sensitivity"
                if [ -d "$fs/$testdir_mangled" ]; then
                        $rmdirprog "$fs/$testdir"
-                       die "\"$fs\" needs to be on a case-sensitive filesystem (see README.Darwin)"
+                       die "\"$fs\" needs to be on a case-sensitive filesystem (see README.$opsys)"
                fi
                $rmdirprog "$fs/$testdir"
        done



Home | Main Index | Thread Index | Old Index