Proposed patch to inform users of fetchindex
Doug Barton
DougB at FreeBSD.org
Mon Jan 31 14:39:47 PST 2005
I can't help but think that the majority of users try to build their own
index because they don't know that there is a better alternative. What
would y'all think of the following patch?
Yes, I'm serious,
Doug
--
This .signature sanitized for your protection
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/Makefile,v
retrieving revision 1.90
diff -u -r1.90 Makefile
--- Makefile 17 Dec 2004 11:23:22 -0000 1.90
+++ Makefile 31 Jan 2005 22:37:26 -0000
@@ -66,6 +66,15 @@
.include <bsd.port.subdir.mk>
index:
+ @${ECHO} 'Building an index file is a non-trivial task.'
+ @${ECHO} ''
+ @${ECHO} 'Most users would be better off using the fetchindex target'
+ @${ECHO} 'instead, which will download and install an index file that'
+ @${ECHO} 'is produced by the ports building system on an hourly basis.'
+ @${ECHO} 'If you are sure you want to make an index yourself, use the'
+ @${ECHO} 'realindex target.'
+
+realindex:
@rm -f ${.CURDIR}/${INDEXFILE}
@cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE}
More information about the freebsd-ports
mailing list