Subject: Re: link for bmake to make (or Guide confusion)
To: Jeremy C.Reed <reed@reedmedia.net>
From: Julio M. Merino Vidal <jmerino@ac.upc.edu>
List: tech-pkg
Date: 06/14/2007 15:43:44
On 14/06/2007, at 15:26, Jeremy C. Reed wrote:

> 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).

Those doing so will have other problems if they don't adjust their  
path accordingly:  there are many other name clashes, e.g. in the  
pkg_* tools.

-- 
Julio M. Merino Vidal <jmerino@ac.upc.edu>