summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorobache <obache>2011-06-12 08:28:32 +0000
committerobache <obache>2011-06-12 08:28:32 +0000
commit04a01889ca7c19efc5f22de5c5850568778f38dc (patch)
treed96f45fa9b7d48fb9d6bcc16a859e0264c6b137b /bootstrap
parent3f069c52d971dbdfdd921cf133f4f7fa42542170 (diff)
downloadpkgsrc-04a01889ca7c19efc5f22de5c5850568778f38dc.tar.gz
Drop --ignore-case-check option from bootstrap script.
pkgsrc infrastructure itself does not require case-sensitive filesystem nowadays, and always no need to check filesystem case-check.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap24
-rwxr-xr-xbootstrap/testbootstrap3
2 files changed, 2 insertions, 25 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 825979a974d..a98793aead2 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.167 2011/06/12 07:58:51 obache Exp $
+# $NetBSD: bootstrap,v 1.168 2011/06/12 08:28:32 obache Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -39,7 +39,6 @@ BOOTSTRAP_VERSION=20060721
MAKECONF=/dev/null
export MAKECONF
-ignorecasecheck=no
unprivileged=no
preserve_path=no
@@ -57,7 +56,6 @@ usage="Usage: $0 "'
[ --pkgmandir <pkgmandir> ]
[ --sysconfdir <sysconfdir> ]
[ --varbase <varbase> ]
- [ --ignore-case-check ]
[ --unprivileged | --ignore-user-check ]
[ --preserve-path ]
[ --compiler <compiler> ]
@@ -386,7 +384,6 @@ while [ $# -gt 0 ]; do
--compiler) compiler="$2"; shift ;;
--abi=*) abi=`get_optarg "$1"` ;;
--abi) abi="$2"; shift ;;
- --ignore-case-check) ignorecasecheck=yes ;;
--unprivileged | --ignore-user-check) unprivileged=yes ;;
--preserve-path) preserve_path=yes ;;
--mk-fragment=*)
@@ -817,25 +814,6 @@ MANOWN=$user
MANGRP=$group" > ${wrkdir}/Makefile.inc
fi
-# make sure we're using a case-sensitive file system
-if [ $ignorecasecheck = "no" ]; then
-case "$opsys" in
-Interix)
- echo_msg "Testing file system case sensitivity"
- for fs in "$prefix"; do
- testdir="pkgsrc-REQUIRES-case-SENSITIVE-filesystem"
- testdir_mangled="PKGSRC-requires-CASE-sensitive-FILESYSTEM"
- 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.$opsys)"
- fi
- $rmdirprog "$fs/$testdir"
- done
- ;;
-esac
-fi
-
# export the proper environment
PATH=$prefix/bin:$prefix/sbin:${PATH}; export PATH
if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then
diff --git a/bootstrap/testbootstrap b/bootstrap/testbootstrap
index 1fb12ecf544..06222b469e3 100755
--- a/bootstrap/testbootstrap
+++ b/bootstrap/testbootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: testbootstrap,v 1.3 2004/08/22 05:02:49 jlam Exp $
+# $NetBSD: testbootstrap,v 1.4 2011/06/12 08:28:32 obache Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -46,6 +46,5 @@ pwd=`pwd`
--prefix=$pwd/pkg \
--sysconfdir=$pwd/pkg/etc \
--pkgdbdir=$pwd/.db \
- --ignore-case-check \
--ignore-user-check 2>&1 | \
tee BOOTSTRAP.LOG