Subject: link for bmake to make (or Guide confusion)
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/14/2007 08:26:24
I see our docs show bmake. This is unclear and causes confusion for NetBSD
users who assume they need to bootstrap.
I was going to ask tech-userlevel and tech-pkg about committing the
following:
--- usr.bin/make/Makefile 1 Nov 2006 23:48:20 -0000 1.41
+++ usr.bin/make/Makefile 14 Jun 2007 13:22:57 -0000
@@ -2,6 +2,8 @@
# @(#)Makefile 5.2 (Berkeley) 12/28/90
PROG= make
+LINKS+= ${BINDIR}/make ${BINDIR}/bmake
+MLINKS+= make.1 bmake.1
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
make.c parse.c str.c suff.c targ.c trace.c var.c util.c
SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
But then I realized that is an inconvenience for those on NetBSD who want
to use bootstrapped bmake (like /usr/pkg/bin/bmake).
The pkgsrc Guide is unclear.
http://www.netbsd.org/docs/pkgsrc/platforms.html says bootstrap kit is for
non-NetBSD. It says bootstrap installs a bmake tool and to use bmake when
building via pkgsrc. The examples in the guide use "bmake" but the Guide
also says to use "bmake" instead of "make" for examples in the Guide.
Jeremy C. Reed