Date: Wed, 25 Mar 1998 21:51:26 +0200 (EET) From: Ruslan Ermilov <ru@ucb.crimea.ua> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/6135: release/Makefile fails to ``make readmes'' for ports Message-ID: <199803251951.VAA07567@relay.ucb.crimea.ua>
index | next in thread | raw e-mail
>Number: 6135
>Category: misc
>Synopsis: release/Makefile fails to ``make readmes'' for ports
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 25 12:00:01 PST 1998
>Last-Modified:
>Originator: Ruslan Ermilov
>Organization:
>Release: FreeBSD 2.2.6-STABLE i386
>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
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803251951.VAA07567>
