Problem with conditional in Makefile
Clement Laforet
sheepkiller at cultdeadsheep.org
Mon Jul 7 13:44:44 PDT 2003
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> ?
regards, clem
More information about the freebsd-ports
mailing list