bsd.port.mk broken: malformed conditional



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@xxxxxxxxxxxxxxxxxxxxxx:/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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
    ... First of all using the file system is the Unix way of doing things. ... AFAIK Debian has the same dichotomy FreeBSD has: ... and a binary database used by apt. ... The most CPU-intensive task portupgrade does ...
    (freebsd-hackers)
  • Re: e-mail to root
    ... reading e-mail messages to root for FreeBSD? ... What it's found are packages on your machine that have security ... I'd do a 'pkg_add -r portupgrade' to install that package, ...
    (freebsd-questions)
  • Re: Upgrading while libraries/programs in use
    ... I've been using FreeBSD for 4 years now, ... If you're willing to deal with your running applications crashing: ... stop working until the portupgrade finishes. ... firefox often does stop working properly if you upgrade it while it's ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Newbie Package Questions
    ... I'm new to FreeBSD and a first time poster to this ... the ports system was designed to solve. ... portupgrade, and running something like `portupgrade -arR` ...
    (freebsd-questions)
  • Re: e-mail to root
    ... reading e-mail messages to root for FreeBSD? ... What it's found are packages on your machine that have security ... I'd do a 'pkg_add -r portupgrade' to install that package, ...
    (freebsd-questions)