summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authortv <tv>2004-03-11 20:47:56 +0000
committertv <tv>2004-03-11 20:47:56 +0000
commit9cb70fb64b571acba42892b5c92b693f29f51c57 (patch)
treea582ca73591929c835ba9cc38c5ff279018b4235 /bootstrap
parent0a5b9d268ce715f3a7cda2ae6d2958e46b50f170 (diff)
downloadpkgsrc-9cb70fb64b571acba42892b5c92b693f29f51c57.tar.gz
Interix has the possibility of case-insensitive filesystems too. Add the
same check used for Darwin, and a doc fragment to README.Interix.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/README.Interix7
-rwxr-xr-xbootstrap/bootstrap6
2 files changed, 9 insertions, 4 deletions
diff --git a/bootstrap/README.Interix b/bootstrap/README.Interix
index 82864a92ca8..600ed817869 100644
--- a/bootstrap/README.Interix
+++ b/bootstrap/README.Interix
@@ -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 @@ The Remote Connectivity subcomponent, Windows Remote Shell Service, does not
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 --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 9597efeaf63..189c8b8d06e 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -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 @@ fi
# 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 @@ Darwin)
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