Subject: Regexp with "exists" expression? (BSD make)
To: None <tech-pkg@netbsd.org>
From: Juan RP <juan@netbsd.graffitipr.org>
List: tech-pkg
Date: 06/21/2004 00:48:27
--Signature=_Mon__21_Jun_2004_00_48_27_+0200_fmwFk7I+Mkd4g48m
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


Hi,

There is a problem with OpenBSD and mk/pthread.buildlink3.mk, the
pthread library is just installed as "libpthread.so.X.X" but there are not
"foo.so" or "foo.so.X", and BUILDLINK_LDADD.pthread is empty...

I would like to use a regexp with the "exists" option in BSD make, like:

.if exists(/foo.*)
	<blah>
.endif

Is it possible? is there any other way to solve this problem?

Thanks.

-- 
	Juan RP <juan@netbsd.graffitipr.org>

--Signature=_Mon__21_Jun_2004_00_48_27_+0200_fmwFk7I+Mkd4g48m
Content-Type: application/pgp-signature

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

iD8DBQFA1hQ7ypkLYVDran0RAorjAKClNkgIB/X5ALYGMxuM1ycUrhqapgCfamo7
VBMC29xUxPS93tn1vtshhF0=
=G3h8
-----END PGP SIGNATURE-----

--Signature=_Mon__21_Jun_2004_00_48_27_+0200_fmwFk7I+Mkd4g48m--