summaryrefslogtreecommitdiffhomepage
path: root/patches/bmake.local.patch
blob: 32bf1d362c0cd3788a24862ffd53ba0e4937478e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- bmake/boot-strap.orig	2020-02-08 19:30:56.653565539 +0000
+++ bmake/boot-strap	2020-02-11 11:45:44.426114614 +0000
@@ -202,7 +202,6 @@
 fi
 
 op=all
-BMAKE=
 
 while :
 do
@@ -391,7 +390,7 @@
 	    cd $Mydir &&
 	    MAKESYSPATH=$mksrc SRCTOP=$Mydir OBJTOP=$objdir \
 	    MAKEOBJDIR='${.CURDIR:S,${SRCTOP:tA},${OBJTOP:tA},}' \
-	    ${BMAKE:-$objdir/bmake} -f $Mydir/Makefile "$@"
+	    ${BMAKE} -f $Mydir/Makefile TEST_MAKE="${BMAKE}" "$@"
     )
 }
 
--- bmake/install-sh.orig	2020-02-15 15:51:24.856000000 +0000
+++ bmake/install-sh	2020-02-20 15:52:47.596000000 +0000
@@ -1,3 +1,4 @@
+#!/bin/sh
 :
 # NAME:
 #	install.sh - portable version of install(1)