From sjr@istari.flash.net  Wed Mar 26 15:39:21 1997
Received: from istari.flash.net (baasc2-65.flash.net [207.181.194.65])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA11789
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 1997 15:39:17 -0800 (PST)
Received: (from sjr@localhost)
	by istari.flash.net (8.8.5/8.8.5) id SAA15821;
	Wed, 26 Mar 1997 18:39:13 -0500 (EST)
Message-Id: <199703262339.SAA15821@istari.flash.net>
Date: Wed, 26 Mar 1997 18:39:13 -0500 (EST)
From: sjr1@flash.net
Reply-To: sjr1@flash.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: make bootstrap relies on /bin/sh but does not (re)build it
X-Send-Pr-Version: 3.2

>Number:         3111
>Category:       misc
>Synopsis:       make bootstrap relies on /bin/sh but does not (re)build it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 15:40:03 PST 1997
>Closed-Date:    Sun May 18 14:31:08 PDT 1997
>Last-Modified:  Sun May 18 14:32:14 PDT 1997
>Originator:     Stephen J. Roznowski
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	N/A

>Description:

	When doing a make world, make bootstrap rebuilds some of the
	tools necessary (make,install,lex) to complete the build.
	Since make relies upon a working shell, it should be (re)built
	during the bootstrap phase.

	I remember this being a problem when a new feature was added
	to the shell and the build failed until the shell was rebuilt
	and reinstalled....

>How-To-Repeat:

	

>Fix:
	
*** Makefile.orig	Wed Mar 26 18:28:50 1997
--- Makefile	Wed Mar 26 18:29:39 1997
***************
*** 364,369 ****
--- 364,371 ----
  bootstrap:
  	cd ${.CURDIR}/usr.bin/make && ${MAKE} depend && \
  		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
+ 	cd ${.CURDIR}/bin/sh && ${MAKE} depend && \
+ 		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
  	cd ${.CURDIR}/usr.bin/xinstall && ${MAKE} depend && \
  		${MAKE} ${MK_FLAGS} all install ${CLEANDIR} ${OBJDIR}
  	cd ${.CURDIR}/usr.bin/lex && ${MAKE} bootstrap && ${MAKE} depend && \
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sun May 18 14:31:08 PDT 1997 
State-Changed-Why:  

Considering how often, or rather: how seldom, we change the source of 
/bin/sh, I don't think this extra step is warranted. 
>Unformatted:
