Date: Sun, 8 Oct 2000 23:45:11 -0700 (PDT) From: Dann Lunsford <dann@greycat.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21851: 'make readmes' broken in new ports structure Message-ID: <200010090645.e996jBV01329@mach.greycat.com>
next in thread | raw e-mail | index | archive | help
>Number: 21851 >Category: ports >Synopsis: 'make readmes' broken in new ports structure >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 08 23:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dann Lunsford >Release: FreeBSD 4.1.1-STABLE i386 >Organization: Very little >Environment: 4.1.1-STABLE, as of 7-OCT-2000 >Description: bsd.ports.subdir.mk was not updated for the new port structure. Causes 'make readmes' (at least) to fail, generating files with incorrect information >How-To-Repeat: cd /usr/ports make readmes In the category directories, README.html will contain only "(no description)" lines. >Fix: apply this patch to bsd.ports.subdir.mk --- bsd.port.subdir.mk.orig Sun Oct 8 23:14:01 2000 +++ bsd.port.subdir.mk Sun Oct 8 23:22:59 2000 @@ -210,15 +210,15 @@ .else @echo -n '<a href="'${entry}/README.html'">'"`cd ${entry}; make package-name | ${HTMLIFY}`</a>: " >> $@.tmp .endif -.if exists(${entry}/pkg/COMMENT) - @${HTMLIFY} ${entry}/pkg/COMMENT >> $@.tmp +.if exists(${entry}/pkg-comment) + @${HTMLIFY} ${entry}/pkg-comment >> $@.tmp .else @echo "(no description)" >> $@.tmp .endif .endfor @sort -t '>' +1 -2 $@.tmp > $@.tmp2 -.if exists(${.CURDIR}/pkg/DESCR) - @${HTMLIFY} ${.CURDIR}/pkg/DESCR > $@.tmp3 +.if exists(${.CURDIR}/pkg-descr) + @${HTMLIFY} ${.CURDIR}/pkg-descr > $@.tmp3 .else @> $@.tmp3 .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010090645.e996jBV01329>