Subject: Re: make: .if exists weirdness
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-pkg
Date: 07/11/2003 19:28:57
--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Todd Vierling <tv@pobox.com> wrote:
> On Fri, 11 Jul 2003, Jan Schaumann wrote:
>=20
> : FILE1=3D  ${PREFIX}/lib/libGL.so.5
> : FILE2=3D  /usr/pkg/lib/libGL.so.5
> : .if exists(${FILE1})
>=20
> Are you including bsd.prefs.mk before these lines?

Yes.

Also, note how it works fine for /usr/pkg/lib/libGL.so.5 and
${PREFIX}/lib/libGL.so.5 as well as /usr/pkg/include/GL/gl.h and
${PREFIX}/include/GL/gl.h.

-Jan

--=20
DON'T PANIC!

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE/D0g5fFtkr68iakwRArfkAKDlLNmhVHm7//YoiqogDjlLmUT/FQCeKefj
DStMYgnwOrM6N8iZznE4PKE=
=+Yof
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--