Building INDEX fails: devel/activitymail?

Charles Swiger cswiger at mac.com
Tue Feb 10 10:37:07 PST 2004


Hi, all--

The ports INDEX build apparently fails due to this:

90-list# cd /usr/ports/devel/activitymail && make describe
"Makefile", line 22: Could not find 
/usr/ports/devel/p5-Module-Build/inc.build.mk
make: fatal errors encountered -- cannot continue

The port also fails portlint:

91-list# portlint
"Makefile", line 22: Could not find 
/usr/ports/devel/p5-Module-Build/inc.build.mk
make: fatal errors encountered -- cannot continue
FATAL: Makefile: CATEGORIES left blank. set it to "misc" if nothing 
seems apropriate.
FATAL: Makefile: PORTVERSION must be specified
WARN: Makefile: COMMENT should begin with a capital, and end without a 
period
2 fatal errors and 1 warnings found.

It seems to me that depending on "make describe" to work for each and 
every port for the INDEX build to succeed is not especially 
fault-tolerant; the result of "make index" gets truncated about 10% of 
the way through the process (INDEX is 1367 lines long) with the current 
error.

Would something like this help:

--- Makefile~   Mon Jan 26 14:53:32 2004
+++ Makefile    Tue Feb 10 13:31:06 2004
@@ -72,7 +72,7 @@
         @echo -n "Generating ${INDEXFILE} - please wait.."; \
         export LOCALBASE=/nonexistentlocal; \
         export X11BASE=/nonexistentx; \
-       cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \
+       cd ${.CURDIR} && make -k describe ECHO_MSG="echo > /dev/null" | 
\
                 perl ${.CURDIR}/Tools/make_index | \
         sed -e 's/  */ /g' -e 's/|  */|/g' -e 's/  *|/|/g' -e 
"s,$${LOCALBASE},/

...?  I'm giving it a try now to see whether I get ~10K lines in the 
resulting INDEX.

-- 
-Chuck



More information about the freebsd-ports mailing list