ports/77246: update "make index" target to use "make fetchindex"...
Charles Swiger
chuck at pkix.net
Tue Feb 8 03:50:18 UTC 2005
>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 at ns1.pkix.net:/usr/obj/usr/src/sys/NORMAL i386
>Description:
Doug Barton <DougB at 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:
More information about the freebsd-ports-bugs
mailing list