pkgsrc-Changes archive

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

CVS commit: pkgsrc/bootstrap



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Dec 28 10:13:01 UTC 2021

Modified Files:
        pkgsrc/bootstrap: bootstrap

Log Message:
bootstrap: On SCO System V variants, we need either mksh or bash.

from Boyd Lynn Gerber.


To generate a diff of this commit:
cvs rdiff -u -r1.305 -r1.306 pkgsrc/bootstrap/bootstrap

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/bootstrap/bootstrap
diff -u pkgsrc/bootstrap/bootstrap:1.305 pkgsrc/bootstrap/bootstrap:1.306
--- pkgsrc/bootstrap/bootstrap:1.305    Mon Dec 27 14:16:30 2021
+++ pkgsrc/bootstrap/bootstrap  Tue Dec 28 10:13:01 2021
@@ -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 @@ SCO_SV)
        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 @@ UnixWare)
        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