Problem with conditional in Makefile
Freddie Cash
fcash at sd73.bc.ca
Mon Jul 7 13:58:53 PDT 2003
On July 7, 2003 01:44 pm, you wrote:
> On Mon, 7 Jul 2003 13:30:16 -0700
> Freddie Cash <fcash at 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 at sd73.bc.ca helpdesk at sd73.bc.ca
(250) 374-0679 ext. 219
More information about the freebsd-ports
mailing list