bsd.port.mk broken on FreeBSD 4.7? Or make?

Kris Kennaway kris at obsecurity.org
Tue Mar 21 21:21:47 UTC 2006


On Tue, Mar 21, 2006 at 04:14:42PM -0500, Peter Beckman wrote:
> When trying to build /usr/ports/mail/postfix (just did an update from
> cvsup11.us.freebsd.org):
> 
> # $FreeBSD: ports/Mk/bsd.port.mk,v 1.529 2006/02/23 15:37:20 ade Exp $
> 
> (root) mail : /usr/ports/mail/postfix --> make clean
> "/usr/ports/Mk/bsd.port.mk", line 5075: warning: String comparison operator
> should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 5075: Malformed conditional
> ((${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >=
> 600101)))
> "/usr/ports/Mk/bsd.port.mk", line 5075: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 5399: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 5399: Need an operator
> make: fatal errors encountered -- cannot continue
> (root) mail : /usr/ports/mail/postfix --> uname -a
> FreeBSD mail.nova.org 4.7-STABLE FreeBSD 4.7-STABLE #4: Mon Oct 14 11:13:46
> EDT 2002 i386
> 
> I assume my "make" is just too old; what to do?  I found no instructions in
> the CHANGES or UPDATING docs, nor on freebsd.org/ports on how to upgrade
> make.
> 
> I assume I need to update /usr/src and make make from there, but since I
> don't see any documented process, I wanted to ask first.

The only supported procedure is to update your entire system to a
newer version, preferably a fully supported version like 6.0 or 6.1.
If you can't manage that, then an upgrade to 4.11 will suffice for
now, but support even for 4.11 is approaching termination, and you
will find that many ports do not work on 4.11.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060321/f43402cb/attachment.pgp


More information about the freebsd-ports mailing list