Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 16:06:44 +0100 (CET)
From:      "Gelsema, P \(Patrick\) - FreeBSD" <freebsd@superhero.nl>
To:        freebsd-questions@freebsd.org
Subject:   bsd.port.mk broken: malformed conditional
Message-ID:  <2003.80.127.127.95.1204297604.squirrel@webmail.superhero.nl>

next in thread | raw e-mail | index | archive | help
Hi,

When I run portupgrade I get errors and portupgrade crashes.
Any ideas?

Running:
FreeBSD wolverine.superhero.nl 7.0-RELEASE
FreeBSD 7.0-RELEASE #0: Sun Feb 24 14:28:41 CET 2008    
drmanhattan@wolverine.superhero.nl:/usr/obj/usr/src/sys/WOLVERINE  i386


wolverine# portupgrade -ai
--->  Session started at: Fri, 29 Feb 2008 15:59:35 +0100
** Makefile possibly broken: devel/pear:
        "/usr/ports/Mk/bsd.php.mk", line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mpcre} != "")
        "/usr/ports/Mk/bsd.php.mk", line 337: Malformed conditional
(${_USE_PHP_VER${PHP_VER}:Mxml} != "")
        "/usr/ports/Mk/bsd.port.mk", line 6144: if-less endif
        "/usr/ports/Mk/bsd.port.mk", line 6147: if-less endif
        make: fatal errors encountered -- cannot continue
--->  Session ended at: Fri, 29 Feb 2008 15:59:57 +0100 (consumed 00:00:22)
/usr/local/sbin/portupgrade:1433:in `get_pkgname': Makefile broken
(MakefileBrokenError)
        from /usr/local/sbin/portupgrade:622:in `main'
        from /usr/local/sbin/portupgrade:613:in `each'
        from /usr/local/sbin/portupgrade:613:in `main'
        from /usr/local/sbin/portupgrade:588:in `catch'
        from /usr/local/sbin/portupgrade:588:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
        from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
        from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
         ... 6 levels...
        from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
        from /usr/local/sbin/portupgrade:229:in `new'
        from /usr/local/sbin/portupgrade:229:in `main'
        from /usr/local/sbin/portupgrade:2173

Rgds,

Patrick



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2003.80.127.127.95.1204297604.squirrel>