Date: Mon, 7 Feb 2005 22:40:01 -0500 (EST) From: Charles Swiger <chuck@pkix.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77246: update "make index" target to use "make fetchindex"... Message-ID: <20050208034001.E3D4C54CE@pkix-gw.codefab.com> Resent-Message-ID: <200502080350.j183oIRa080826@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77246 >Category: ports >Synopsis: update "make index" target to use "make fetchindex"... >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 08 03:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Charles Swiger >Release: FreeBSD 4.11-STABLE i386 >Organization: PKIx >Environment: System: FreeBSD ns1.pkix.net 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Jan 19 04:19:15 EST 2005 root@ns1.pkix.net:/usr/obj/usr/src/sys/NORMAL i386 >Description: Doug Barton <DougB@FreeBSD.org> suggested a change to the "make index" target, and this is based on that idea and additional discussion on the freebsd-ports list. >How-To-Repeat: N/A. >Fix: --- /usr/ports/Makefile.orig Mon Dec 20 13:21:54 2004 +++ /usr/ports/Makefile Mon Jan 31 19:29:39 2005 @@ -66,6 +66,22 @@ .include <bsd.port.subdir.mk> index: + @${ECHO} 'Building the index file for the ports collection is a complex task, which' + @${ECHO} 'may take anywhere from several minutes to an hour or longer to complete.' + @${ECHO} 'If you do not have a complete, up-to-date ports collection, building the' + @${ECHO} 'index will fail. Please be sure you are not using a cvsup refuse file.' + @${ECHO} '' + @${ECHO} 'If are certain you want to build your own index, hit Cntl-C now and use:' + @${ECHO} '' + @${ECHO} ' make buildindex' + @${ECHO} '' + @${ECHO} '...instead. However, most users prefer to use "make fetchindex", which' + @${ECHO} 'will download the latest working version of the index (~600K).' + @${ECHO} '' + @sleep 3 + make fetchindex + +buildindex: @rm -f ${.CURDIR}/${INDEXFILE} @cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208034001.E3D4C54CE>