pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/30317



roland.illig%gmx.de@localhost said:
>  Apart from the following line, the package works on NetBSD 1.6.2 when
> I 
>  remove the "native" flag from PTHREAD_OPTS. 

OK, it might be easyer than I thought to get a pkg for 1.6.
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.

best regards
Matthias





Home | Main Index | Thread Index | Old Index