Wed Jul 15 10:32:13 2020 UTC ()
bootstrap: Switch OSF1 to mksh.

Tested by @astr0baby on Twitter on Tru64 5.1B, where bootstrap fails due to
incomplete C99 support for libarchive on the host system, but after mksh has
already been built successfully.

That leaves only AIX now remaining on pdksh, so if anyone has an AIX system
and is able to test a bootstrap run it would be appreciated.


(jperkin)
diff -r1.287 -r1.288 pkgsrc/bootstrap/bootstrap

cvs diff -r1.287 -r1.288 pkgsrc/bootstrap/bootstrap (expand / switch to unified diff)

--- pkgsrc/bootstrap/bootstrap 2020/07/07 11:50:04 1.287
+++ pkgsrc/bootstrap/bootstrap 2020/07/15 10:32:12 1.288
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1#! /bin/sh 1#! /bin/sh
2 2
3# $NetBSD: bootstrap,v 1.287 2020/07/07 11:50:04 jperkin Exp $ 3# $NetBSD: bootstrap,v 1.288 2020/07/15 10:32:12 jperkin Exp $
4# 4#
5# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org> 5# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
6# All rights reserved. 6# All rights reserved.
7# 7#
8# Redistribution and use in source and binary forms, with or without 8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions 9# modification, are permitted provided that the following conditions
10# are met: 10# are met:
11# 1. Redistributions of source code must retain the above copyright 11# 1. Redistributions of source code must retain the above copyright
12# notice, this list of conditions and the following disclaimer. 12# notice, this list of conditions and the following disclaimer.
13# 2. Redistributions in binary form must reproduce the above copyright 13# 2. Redistributions in binary form must reproduce the above copyright
14# notice, this list of conditions and the following disclaimer in the 14# notice, this list of conditions and the following disclaimer in the
15# documentation and/or other materials provided with the distribution. 15# documentation and/or other materials provided with the distribution.
16# 16#
@@ -764,27 +764,27 @@ NetBSD) @@ -764,27 +764,27 @@ NetBSD)
764 machine_arch=`uname -p` 764 machine_arch=`uname -p`
765 ;; 765 ;;
766OpenBSD) 766OpenBSD)
767 root_group=wheel 767 root_group=wheel
768 machine_arch=`arch -s` 768 machine_arch=`arch -s`
769 CC=${CC:-cc}; export CC 769 CC=${CC:-cc}; export CC
770 check_compiler=yes 770 check_compiler=yes
771 ;; 771 ;;
772OSF1) 772OSF1)
773 root_group=system 773 root_group=system
774 need_bsd_install=yes 774 need_bsd_install=yes
775 need_awk=yes 775 need_awk=yes
776 need_sed=yes 776 need_sed=yes
777 need_ksh=yes 777 need_mksh=yes
778 machine_arch=`uname -p` 778 machine_arch=`uname -p`
779 ;; 779 ;;
780QNX) 780QNX)
781 root_group=root 781 root_group=root
782 need_bsd_install=yes 782 need_bsd_install=yes
783 need_awk=yes 783 need_awk=yes
784 need_sed=yes 784 need_sed=yes
785 groupsprog="id -gn" 785 groupsprog="id -gn"
786 whoamiprog="id -un" 786 whoamiprog="id -un"
787 machine_arch=`uname -p | sed -e 's/x86/i386/'` 787 machine_arch=`uname -p | sed -e 's/x86/i386/'`
788 ;; 788 ;;
789SCO_SV) 789SCO_SV)
790 root_group=root 790 root_group=root