From ru@ucb.crimea.ua  Wed Mar 25 11:54:17 1998
Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA18996
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Mar 1998 11:53:46 -0800 (PST)
          (envelope-from ru@ucb.crimea.ua)
Received: (from ru@localhost)
	by relay.ucb.crimea.ua (8.8.8/8.8.8) id VAA07567;
	Wed, 25 Mar 1998 21:51:26 +0200 (EET)
	(envelope-from ru)
Message-Id: <199803251951.VAA07567@relay.ucb.crimea.ua>
Date: Wed, 25 Mar 1998 21:51:26 +0200 (EET)
From: Ruslan Ermilov <ru@ucb.crimea.ua>
Reply-To: ru@ucb.crimea.ua
To: FreeBSD-gnats-submit@freebsd.org
Subject: release/Makefile fails to ``make readmes'' for ports
X-Send-Pr-Version: 3.2

>Number:         6135
>Category:       misc
>Synopsis:       release/Makefile fails to ``make readmes'' for ports
>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 25 12:00:01 PST 1998
>Closed-Date:    Mon Mar 30 00:27:54 PST 1998
>Last-Modified:  Tue Nov 27 19:25:23 PST 2001
>Originator:     Ruslan Ermilov
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
>Environment:

# ls -l /usr/ports/templates
ls: /usr/ports/templates: No such file or directory


>Description:

	After cvs'ing the ports /usr/src/release/Makefile makes readmes
	for them.

	Having no /usr/ports/templates directory gives it no chance to do it.

>How-To-Repeat:

	mv /usr/ports/templates /usr/ports/templates.save

	BUILD RELEASE with ports

>Fix:

	Apply one of the following patches (against RELENG_2_2):


Index: Makefile
===================================================================
RCS file: /usr/FreeBSD-CVS/src/release/Makefile,v
retrieving revision 1.246.2.84
diff -u -r1.246.2.84 Makefile
--- Makefile	1998/03/24 11:00:03	1.246.2.84
+++ Makefile	1998/03/25 19:39:26
@@ -132,7 +132,7 @@
 	cd ${CHROOTDIR}/usr/src && patch --silent < ${LOCAL_PATCHES}
 .endif
 .if !defined(NOPORTS)
-	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes
+	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
 .endif
 .if !defined(NODOC)
 	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P doc


Index: Makefile
===================================================================
RCS file: /usr/FreeBSD-CVS/src/release/Makefile,v
retrieving revision 1.246.2.84
diff -u -r1.246.2.84 Makefile
--- Makefile	1998/03/24 11:00:03	1.246.2.84
+++ Makefile	1998/03/25 19:37:48
@@ -132,7 +132,7 @@
 	cd ${CHROOTDIR}/usr/src && patch --silent < ${LOCAL_PATCHES}
 .endif
 .if !defined(NOPORTS)
-	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes
+	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes TEMPLATES=${CHROOTDIR}/usr/ports/templates
 .endif
 .if !defined(NODOC)
 	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P doc


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Mon Mar 30 00:27:54 PST 1998 
State-Changed-Why:  
First fix taken, thanks. 
>Unformatted:
