new makefile boffo?

Joe Marcus Clarke marcus at marcuscom.com
Wed Aug 27 11:42:44 PDT 2003


On Wed, 2003-08-27 at 14:33, Michael Scheidell wrote:
> Ok, fbsd 3.5, maybe I should upgrade to 5.1 (5.2?)

No.  I found this problem in testing.  FreeBSD < 4.0 will run into
this.  If you search through bsd.port.mk for pkg_install, you will see
the block the sets PKGORIGIN right above it.  If you remove the
OSVERSION check, then PKGORIGIN should be set on all versions of
FreeBSD.  I plan on doing this on the next round of bsd.port.mk patches.

Joe

> 
> just did a cvsup on ports dir, tried to make something, got:
> 
>  make
> "/usr/ports/Mk/bsd.port.mk", line 1781: Malformed conditional
> (${OSVERSION} < 460102 && ${PKGORIGIN} != "sysutils/pkg_install")
> "/usr/ports/Mk/bsd.port.mk", line 4486: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 4486: Need an operator
> make: fatal errors encountered -- cannot continue
> 
> #-*- mode: makefile; tab-width: 4; -*-
> # ex:ts=4
> #
> # $FreeBSD: ports/Mk/bsd.port.mk,v 1.464 2003/08/27 04:42:45 marcus Exp $
> #       $NetBSD: $
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- 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/20030827/b8cc1520/attachment.bin


More information about the freebsd-ports mailing list