portupgrade fails to generate index
LarsKöller
lars.koeller at uni-bielefeld.de
Tue Nov 30 23:35:56 PST 2004
----------
In reply to Sean McNeil who wrote:
> 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 \
>
Yes, it's absolutely unklear to me why this has worked in the test at
home.
It's fixed now.
Sorry
Lars
--
Lars Köller \ Raum : V0-318 (Tel: 4964)
Leitung Systeme \ E-Mail : Lars.Koeller at Uni-Bielefeld.DE
und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
----------- FreeBSD, what else? ---- http://www.de.freebsd.org ---------
More information about the freebsd-ports
mailing list