Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 12:51:24 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nicolas Blais <nb_root@videotron.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /etc/make.conf weirdness
Message-ID:  <20050519195124.GA34973@xor.obsecurity.org>
In-Reply-To: <200505191531.02487.nb_root@videotron.ca>
References:  <200505191531.02487.nb_root@videotron.ca>

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

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote:
> Hi,
>=20
> This is probably a user problem (me), but why is it that when I put this=
=20
> in /etc/make.conf:
>=20
> .if ${.CURDIR:M*/multimedia/transcode}
>   WITH_DIVX5=3Dyes WITH_OPTIMIZED_CFLAGS=3Dyes
> .endif
>=20
> and build transcode, it will only receive WITH_DIVX5 and not the other fl=
ag.
>=20
> and if I put this instead:
>=20
> .if ${.CURDIR:M*/multimedia/transcode}
>   WITH_OPTIMIZED_CFLAGS=3Dyes WITH_DIVX5=3Dyes=20
> .endif
>=20
> it will receive WITH_OPTIMIZED_CFLAGS and not the other again?
>=20
> Same with all the ports such as :
>=20
> .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=3Dyes   =
 \
>   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
>=20
> will only receive WITH OPTIMIZED_CFLAGS.
>=20
> Any way around this?

Put each entry on separate lines, don't try to separate them with
whitespace.

Kris
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCjO48Wry0BWjoQKURAu7dAJ0eh5GLrcdT7nwu8mEWza6dhCB+OgCg4b7x
7EqHrfQKgAN1j2JKpd9eEWk=
=RsFN
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



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