From owner-freebsd-bugs Thu Apr 8 16:52: 7 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 059971519D for ; Thu, 8 Apr 1999 16:52:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id QAA13271; Thu, 8 Apr 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 8 Apr 1999 16:50:01 -0700 (PDT) Message-Id: <199904082350.QAA13271@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Chris Costello Subject: Re: bin/11035: Man page indices are built even when NOMAN is set. Reply-To: Chris Costello Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/11035; it has been noted by GNATS. From: Chris Costello To: des@flood.ping.uio.no Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/11035: Man page indices are built even when NOMAN is set. Date: Thu, 8 Apr 1999 18:39:55 -0500 On Thu, Apr 8, 1999, des@flood.ping.uio.no wrote: > > >Number: 11035 > >Category: bin > >Synopsis: Man page indices are built even when NOMAN is set. > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Thu Apr 8 16:10:00 PDT 1999 > >Closed-Date: > >Last-Modified: > >Originator: Dag-Erling Smorgrav > >Release: FreeBSD 4.0-CURRENT i386 > >Organization: > >Environment: > > FreeBSD 3.1 and 4.0 > > >Description: > > 'make installworld' tries to rebuild the man page indices even when NOMAN > is defined. > > >How-To-Repeat: > > # cd /usr/src > # make installworld -DNOMAN > > observe the last five lines of output. For those of us who are too lazy ;) /usr/src$ make -f Makefile.inc1 -m /usr/src/share/mk -n reinstall -DNOMAN echo "--------------------------------------------------------------" echo ">>> Making hierarchy" echo "--------------------------------------------------------------" cd /usr/src; make -f Makefile.inc1 hierarchy echo echo "--------------------------------------------------------------" echo ">>> Installing everything.." echo "--------------------------------------------------------------" cd /usr/src; make -f Makefile.inc1 install echo echo "--------------------------------------------------------------" echo ">>> Rebuilding man page indexes" echo "--------------------------------------------------------------" cd /usr/src/share/man; make makedb > >Fix: A patch (as applies to Makefile.inc1) would be: --- /tmp/Makefile.inc1.orig Thu Apr 8 18:27:39 1999 +++ /usr/src/Makefile.inc1 Thu Apr 8 18:28:17 1999 @@ -365,11 +365,13 @@ @echo "--------------------------------------------------------------" -cd ${.CURDIR}; /sbin/ldconfig -R .endif +.if !defined(NOMAN) @echo @echo "--------------------------------------------------------------" @echo ">>> Rebuilding man page indexes" @echo "--------------------------------------------------------------" cd ${.CURDIR}/share/man; ${MAKE} makedb +.endif # # update > Make the relevant bits conditional on NOMAN. > > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message > -- ============================================= * "This process can check if this value is * * zero, and if it is, it does something * * child-like." -Forbes Burkowski, CS 454 * ============================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message