Date: Mon, 7 Jul 2003 22:44:05 +0200 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: fcash@sd73.bc.ca Cc: ports@freebsd.org Subject: Re: Problem with conditional in Makefile Message-ID: <20030707224405.180b8b98.sheepkiller@cultdeadsheep.org> In-Reply-To: <200307071330.16446.fcash@sd73.bc.ca> References: <200307071330.16446.fcash@sd73.bc.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 7 Jul 2003 13:30:16 -0700 Freddie Cash <fcash@sd73.bc.ca> wrote: > Could someone please point out what I am doing wrong, or where to search > for more information on using OSVERSION and/or .if statement? Muchly > obliged. > do you use pre/post includes ? i.e. .include <bsd.port.pre.mk> .if ${OSVERSION} > 500000 || defined(WITH_GCC3) CONFIGURE_ARGS+= --gccver=3 .else CONFIGURE_ARGS+= --gccver=2 .endif <snip> .include <bsd.port.post.mk> ? regards, clem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030707224405.180b8b98.sheepkiller>