From owner-freebsd-ports@FreeBSD.ORG Tue Feb 1 00:34:29 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C90B16A4CE; Tue, 1 Feb 2005 00:34:29 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355C243D39; Tue, 1 Feb 2005 00:34:29 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id j110YSta008175; Mon, 31 Jan 2005 16:34:28 -0800 (PST) Received: from [10.1.1.245] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)j110YRxq008751; Mon, 31 Jan 2005 16:34:28 -0800 (PST) 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> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9d4b3302417c62160b42f6ddc23d2974@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 31 Jan 2005 19:34:26 -0500 To: Adam Weinberger X-Mailer: Apple Mail (2.619.2) cc: Doug Barton cc: freebsd-ports@FreeBSD.org Subject: Re: Proposed patch to inform users of fetchindex X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 00:34:29 -0000 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 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