portupgrade fails to generate index

Sean McNeil sean at mcneil.com
Tue Nov 30 19:29:20 PST 2004


On Tue, 2004-11-30 at 19:22 -0800, Sean McNeil wrote:
> I get the following now:
> 
> server# portupgrade -a
> Updating the ports index ... Generating INDEX.tmp - please
> wait.."/usr/ports/Mk/bsd.port.mk", line 2673: warning: duplicate script
> for target "checksum" ignored"Makefile", line 13: 1 open conditional:
> "Makefile", line 13:     at line 197 (evaluated to true)
> make: fatal errors encountered -- cannot continue

This looks like a simple mistake of using .fi instead of .endif:

--- sysutils/bacula-server/Makefile.orig        Tue Nov 30 19:27:12 2004
+++ sysutils/bacula-server/Makefile     Tue Nov 30 19:27:30 2004
@@ -198,7 +198,7 @@
        for na in fd; do \
 .else
        for na in sd dir; do \
-.fi
+.endif
                if [ -f ${PREFIX}/etc/bacula-$$na.conf.new ]; then \
                        ${ECHO_CMD} "etc/bacula-$$na.conf.new" >>
${TMPPLIST}; \                elif [ -f
${PREFIX}/etc/bacula-$$na.conf ]; then \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041130/3e4628c3/attachment.bin


More information about the freebsd-ports mailing list