Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jan 2012 17:45:03 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Chris Rees <utisoft@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: BSD make -- Malformed conditional
Message-ID:  <4F22E29F.8080602@infracaninophile.co.uk>
In-Reply-To: <CADLo83-Q9O5AMTReRG9v=U5y1d37NUnK1dGUWe5Yk4ZMbd1Zjw@mail.gmail.com>
References:  <4F22CB51.6070507@infracaninophile.co.uk> <CADLo83-Q9O5AMTReRG9v=U5y1d37NUnK1dGUWe5Yk4ZMbd1Zjw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE75FC7B7F7D247EA208E8CF1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 27/01/2012 16:51, Chris Rees wrote:
>> .for item in ${LIST}
>> > .if ${item} =3D=3D "this"  # Ooops

> You shouldn't use quotes either.

I think that not quoting might be better style, but it's not the typical
usage in make(1).  There are quite a few contrary examples in the ports:

% < /tmp/ports-makefiles xargs grep '} =3D=3D "' | wc -l
    1674
% < /tmp/ports-makefiles xargs grep '} =3D=3D [^"]' | wc -l
     531

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigE75FC7B7F7D247EA208E8CF1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8i4qUACgkQ8Mjk52CukIxz5ACcC+80VP6N5/KN1bK4WtgwfWHo
nSoAnRJ2TOkZIRtDY0bX/HacKwrqiGx/
=757C
-----END PGP SIGNATURE-----

--------------enigE75FC7B7F7D247EA208E8CF1--



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