Date: Mon, 7 Jul 2003 13:51:57 -0700 From: Freddie Cash <fcash@sd73.bc.ca> To: Clement Laforet <sheepkiller@cultdeadsheep.org> Cc: ports@freebsd.org Subject: Re: Problem with conditional in Makefile Message-ID: <200307071351.57915.fcash@sd73.bc.ca> In-Reply-To: <20030707224405.180b8b98.sheepkiller@cultdeadsheep.org> References: <200307071330.16446.fcash@sd73.bc.ca> <20030707224405.180b8b98.sheepkiller@cultdeadsheep.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On July 7, 2003 01:44 pm, you wrote: > 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> ? No, I don't. And that just set off a bunch of reminder bells in my head. :) This update is to a Makefile that doesn't use the pre/post includes, but the Makefile I grabbed the .if statement from does. Thank you for the reminder. -- Freddie Cash District HelpDesk / Network Admin fcash@sd73.bc.ca helpdesk@sd73.bc.ca (250) 374-0679 ext. 219
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307071351.57915.fcash>