Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2005 09:50:46 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        RW <list-freebsd-2004@morbius.sent.com>
Cc:        "Michael C. Shultz" <ringworm01@gmail.com>
Subject:   Re: /etc/make.conf weirdness
Message-ID:  <20050520165046.GB20460@xor.obsecurity.org>
In-Reply-To: <200505201513.09929.list-freebsd-2004@morbius.sent.com>
References:  <200505191531.02487.nb_root@videotron.ca> <20050519195124.GA34973@xor.obsecurity.org> <200505201513.09929.list-freebsd-2004@morbius.sent.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--3uo+9/B/ebqu+fSQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 20, 2005 at 03:13:08PM +0100, RW wrote:
> On Thursday 19 May 2005 20:51, 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 t=
his
> > > in /etc/make.conf:
> > >
> > > .if ${.CURDIR:M*/multimedia/transcode}
> > >   WITH_DIVX5=3Dyes WITH_OPTIMIZED_CFLAGS=3Dyes
> > > .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=3Dyes WITH_DIVX5=3Dyes
> > > .endif
> > >
> > > it will receive WITH_OPTIMIZED_CFLAGS and not the other again?
> > >
> > > Same with all the ports such as :
> > >
> > > .if ${.CURDIR:M*/multimedia/mplayer}
> > >   WITH_OPTIMIZED_CFLAGS=3Dyes WITHOUT_RUNTIME_CPUDETECTION \
> > >   WITH_RTC=3Dyes WITH_LIBUNGIF=3Dyes WITH_ARTS=3Dyes \
> > >   WITH_FRIBIDI=3Dyes WITH_CDPARANOIA=3Dyes WITH_LIBDV=3Dyes        \
> > >   WITH_MAD=3Dyes WITH_SVGALIB=3Dyes WITH_AALIB=3Dyes WITH_THEORA=3Dye=
s    \
> > >   WITH_SDL=3Dyes WITH_ESOUND=3Dyes WITH_VORBIS=3Dyes WITH_XANIM=3Dyes=
     \
> > >   WITH_LIVEMEDIA=3Dyes WITH_MATROSKA=3Dyes WITH_XVID=3Dyes WITH_LZO=
=3Dyes \
> > >   WITH_XMMS=3Dyes
> > > .endif
> > >
> > > will only receive WITH OPTIMIZED_CFLAGS.
> > >
> > > Any way around this?
> >
> > Put each entry on separate lines, don't try to separate them with
> > whitespace.
>=20
> I think this was probably inspired by  the portmanager man-page. The mpla=
yer=20
> section above is a slightly edited version of it's sample make.conf.

Someone should talk to the portmanager author then :-)

Kris

--3uo+9/B/ebqu+fSQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCjhVlWry0BWjoQKURAm9GAJ9zTzb/7yOSvum65uEVcXsX98HFfACgvvYA
wESqLwlgINSnyCAWEMAehEc=
=JObI
-----END PGP SIGNATURE-----

--3uo+9/B/ebqu+fSQ--



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