Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 15:55:10 -0400
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: /etc/make.conf weirdness
Message-ID:  <200505191555.10559.nb_root@videotron.ca>
In-Reply-To: <20050519195124.GA34973@xor.obsecurity.org>
References:  <200505191531.02487.nb_root@videotron.ca> <20050519195124.GA34973@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 19, 2005 03:51 pm, Kris Kennaway wrote:
> On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote:
> > Hi,
> >
> > This is probably a user problem (me), but why is it that when I put this
> > in /etc/make.conf:
> >
> > .if ${.CURDIR:M*/multimedia/transcode}
> >   WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes
> > .endif
> >
> > and build transcode, it will only receive WITH_DIVX5 and not the other
> > flag.
> >
> > and if I put this instead:
> >
> > .if ${.CURDIR:M*/multimedia/transcode}
> >   WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes
> > .endif
> >
> > it will receive WITH_OPTIMIZED_CFLAGS and not the other again?

> > Any way around this?
>
> Put each entry on separate lines, don't try to separate them with
> whitespace.
>
> Kris

Thanks that did it!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505191555.10559.nb_root>