pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap bootstrap: On SCO System V variants, we need...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45ae9582cfbd
branches: trunk
changeset: 771821:45ae9582cfbd
user: nia <nia%pkgsrc.org@localhost>
date: Tue Dec 28 10:13:01 2021 +0000
description:
bootstrap: On SCO System V variants, we need either mksh or bash.
from Boyd Lynn Gerber.
diffstat:
bootstrap/bootstrap | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r e966ef03f178 -r 45ae9582cfbd bootstrap/bootstrap
--- a/bootstrap/bootstrap Tue Dec 28 01:11:53 2021 +0000
+++ b/bootstrap/bootstrap Tue Dec 28 10:13:01 2021 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.305 2021/12/27 14:16:30 schmonz Exp $
+# $NetBSD: bootstrap,v 1.306 2021/12/28 10:13:01 nia Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -799,6 +799,12 @@
need_awk=yes
need_bsd_install=yes
need_sed=yes
+ if [ -x "/usr/bin/bash" ]; then
+ bootstrap_sh=${SH:-/usr/bin/bash}
+ bootstrap_sh_set=set
+ else
+ need_mksh=yes
+ fi
whoamiprog='id -u'
groupsprog='id -g'
# /bin/sh under OpenServer 5.0.7/3.2 breaks bmake tests.
@@ -833,6 +839,12 @@
need_mkdir=yes
need_awk=yes
need_sed=yes
+ if [ -x "/usr/bin/bash" ]; then
+ bootstrap_sh=${SH:-/usr/bin/bash}
+ bootstrap_sh_set=set
+ else
+ need_mksh=yes
+ fi
whoamiprog=/usr/ucb/whoami
machine_arch=`uname -m`
CC="gcc -DUNIXWARE"; export CC
Home |
Main Index |
Thread Index |
Old Index