Date: Mon, 31 Jan 2005 19:34:26 -0500 From: Charles Swiger <cswiger@mac.com> To: Adam Weinberger <adamw@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: Proposed patch to inform users of fetchindex Message-ID: <9d4b3302417c62160b42f6ddc23d2974@mac.com> In-Reply-To: <41FEC9A2.7070606@FreeBSD.org> References: <20050131143802.X1177@ync.qbhto.arg> <41FEC61F.6000309@FreeBSD.org> <20050131155701.U1177@ync.qbhto.arg> <41FEC9A2.7070606@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 31, 2005, at 7:13 PM, Adam Weinberger wrote: > That said, I'd also be okay with having 'make index' do the same thing > as 'make fetchindex', and have the current 'make index' behaviour be > moved to a new target called 'make buildindex'. Adam's made an excellent point here, so how about something like: --- Makefile.orig Mon Dec 20 13:21:54 2004 +++ 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} -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d4b3302417c62160b42f6ddc23d2974>