From b48101ad3b27d724649b704ff9b5c74bd0b4a21d Mon Sep 17 00:00:00 2001 From: jschauma Date: Sat, 17 Dec 2005 17:51:40 +0000 Subject: Apply parts of a patch from Georg Schwarz to allow IRIX 6.x to bootstrap again. --- bootstrap/bootstrap | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index ca73f6e31d4..c11bf730c3c 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.46 2005/12/01 03:03:51 minskim Exp $ +# $NetBSD: bootstrap,v 1.47 2005/12/17 17:51:40 jschauma Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -328,12 +328,13 @@ IRIX*) need_mtree=yes need_bsd_install=yes need_pax=yes - configargs="--with-machine_arch=mipseb" get_abi "IRIX" opsys=IRIX need_sed=yes set_opsys=yes machine_arch=mipseb + bmakexargs="MACHINE_ARCH=$machine_arch" + bmakexenv="MAKE=pmake" check_compiler=yes ;; Linux) @@ -659,7 +660,7 @@ fi echo_msg "Installing bmake" copy_src ../devel/bmake/files bmake -run_cmd "(cd $wrkdir/bmake && env CPPFLAGS='$CPPFLAGS -I../../libnbcompat' LDFLAGS='$LDFLAGS -L../../libnbcompat' LIBS='-lnbcompat' $shprog ./boot-strap -q -o $opsys --prefix=$prefix --sysconfdir=$sysconfdir --mksrc none --with-default-sys-path="$prefix/share/mk")" +run_cmd "(cd $wrkdir/bmake && env CPPFLAGS='$CPPFLAGS -I../../libnbcompat' LDFLAGS='$LDFLAGS -L../../libnbcompat' LIBS='-lnbcompat' $bmakexenv $shprog ./boot-strap -q -o $opsys --prefix=$prefix --sysconfdir=$sysconfdir --mksrc none --with-default-sys-path="$prefix/share/mk" $bmakexargs)" run_cmd "$shprog $wrkdir/install-sh -c -o $user -g $group -m 755 $wrkdir/bmake/$opsys/bmake $prefix/bin/bmake" #run_cmd "$shprog $wrkdir/install-sh -c -o $user -g $group -m 644 $wrkdir/bmake/$opsys/bmake.1 $prefix/man/man1/bmake.1" -- cgit v1.2.3