Subject: Re: pkg/30317
To: None <drochner@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Illig <roland.illig@gmx.de>
List: pkgsrc-bugs
Date: 05/25/2005 23:16:01
The following reply was made to PR pkg/30317; it has been noted by GNATS.
From: Roland Illig <roland.illig@gmx.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30317
Date: Thu, 26 May 2005 01:15:51 +0200
Matthias Drochner wrote:
> Can you try something like the following:
>
> PTHREAD_OPTS+= native
> .include "../../mk/pthread.buildlink3.mk"
> .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native"
> PLIST_SUBST+= HAVE_THR=""
> .else
> PLIST_SUBST+= HAVE_THR="@comment "
> .endif
>
> and put a "${HAVE_THR}" in front of the pthread.dll PLIST entry.
It works fine.
Roland