From nnd@nnd.itfs.nsk.su  Thu Aug 21 02:41:05 1997
Received: from nnd.itfs.nsk.su (nnd.itfs.nsk.su [193.124.36.42])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA09929
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 1997 02:41:03 -0700 (PDT)
Received: (from root@localhost)
	by nnd.itfs.nsk.su (8.8.7/8.8.5) id QAA29103;
	Thu, 21 Aug 1997 16:45:10 +0700 (NSS)
Message-Id: <199708210945.QAA29103@nnd.itfs.nsk.su>
Date: Thu, 21 Aug 1997 16:45:10 +0700 (NSS)
From: "Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
Reply-To: nnd@nnd.itfs.nsk.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: src/include/Makefile (temporary) fix
X-Send-Pr-Version: 3.2

>Number:         4349
>Category:       bin
>Synopsis:       src/include/Makefile (temporary) fix
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 21 02:50:00 PDT 1997
>Closed-Date:    Thu Aug 21 03:12:30 PDT 1997
>Last-Modified:  Thu Aug 21 03:13:20 PDT 1997
>Originator:     Nickolay N. Dudorov
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
NTP Infoteka
>Environment:

	FreeBSD 3.0-CURRENT as of ~ 970820

>Description:

	'make buildworld' is broken after src/Makefile
changes the 'cd src/include; make all install' to
'cd src/include; make all installhdrs symlinks' because
src/include/Makefile has no means for installation of
src/include/rpcsvc headers.

	I propose this 'temporary fix' so we can
build world NOW (and have a time to elaborate new/better
headers installation procedure for 'make world').


>How-To-Repeat:

	cd /usr/src
	make buildworld

and instead of new/better world after some time read error messages ;-(

>Fix:
	
	Apply the next patch.

--- src/include/Makefile.STD	Thu Aug 21 13:12:38 1997
+++ src/include/Makefile	Thu Aug 21 16:27:34 1997
@@ -79,6 +79,8 @@
 	cd ${.CURDIR}/rpc; \
 		${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
 		${RPCFILES} ${DESTDIR}/usr/include/rpc
+	cd ${.CURDIR}/rpcsvc; \
+		${MAKE} beforeinstall
 	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 osreldate.h \
 		${DESTDIR}/usr/include
 .for i in ${LFILES}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jmg 
State-Changed-When: Thu Aug 21 03:12:30 PDT 1997 
State-Changed-Why:  
I committed a fix for this just a bit ago...  src/include/rpcsvc now 
installs headers when the target installhdrs is invoked... 
>Unformatted:
