Subject: Re: building multimedia/vlc
To: Marc Recht <recht@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-pkg
Date: 07/27/2004 00:27:39
Marc Recht <recht@netbsd.org> wrote:
> > 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} != "native"
> CONFIGURE_ARGS+= --enable-pth
> .endif
But that will still break with native threads...
--
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent
le binaire et ceux qui ne le comprennent pas.
manu@netbsd.org