aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bmake
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2021-03-06 17:45:08 +0000
committerDimitry Andric <dim@FreeBSD.org>2021-12-21 13:44:51 +0000
commit5815ac31d9c98098242f6709c7a261481ae300fb (patch)
tree5d6dbe01f631cc2ffc599abe0ddcb40ab3683334 /usr.bin/bmake
parent886e5802c443574e1af0d9561e4d863dfcf1c5c2 (diff)
Fix 'make bmake' top-level bootstrapping.
Fixes: ee10666327b62 (cherry picked from commit eb8bf6bb4204c302e2329b68c8a930be5d44bc9c)
Diffstat (limited to 'usr.bin/bmake')
-rw-r--r--usr.bin/bmake/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/bmake/Makefile.inc b/usr.bin/bmake/Makefile.inc
index 9960f0ceeb2d..8e10a654a754 100644
--- a/usr.bin/bmake/Makefile.inc
+++ b/usr.bin/bmake/Makefile.inc
@@ -9,9 +9,11 @@
.if exists(${.CURDIR}/tests)
PROG= make
+.if ${PROGNAME:U} != "bmake"
LINKS= ${BINDIR}/make ${BINDIR}/bmake
MLINKS= ${MAN} b${MAN}
.endif
+.endif
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= YES