Subject: Re: building multimedia/vlc
To: Emmanuel Dreyfus <manu@netbsd.org>
From: Marc Recht <recht@netbsd.org>
List: tech-pkg
Date: 07/26/2004 23:46:20
--==========759C6AE857675DE9E72A==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

> Defining PTH_INIT_IN_PTH_H in config.h fixes the problem. It would be
> enabled by configure --enable-pth, but that woulnd't play nicely with
> native threads. What should be done?

Didn't tried it, but IMHO this should work:

# (moved up from the bottom..)
.include "../../mk/pthread.buildlink3.mk"

.if ${PTHREAD_TYPE} !=3D "native"
CONFIGURE_ARGS+=3D	--enable-pth
.endif

HTH,
Marc

--==========759C6AE857675DE9E72A==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

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

iD8DBQFBBXus7YQCetAaG3MRArtUAJ9s/rwMkbI5vuKktptZ97Ic3HLOPwCfYMvb
yt5CQkarAqZVpbhDzkmyn6A=
=KTRb
-----END PGP SIGNATURE-----

--==========759C6AE857675DE9E72A==========--