tech-pkg archive

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

Re: Xlockmore



On Tue, 29 Apr 2008 20:31:50 +0900, Matthias Scheler 
<tron%zhadum.org.uk@localhost> wrote:

>
> On 28 Apr 2008, at 20:51, Vincent wrote:
>>> Also, I think your approach to pull in pthreads is not the best
>>> one. I can't find the section documenting how to handle packages
>>> that require pthreads in the pkgsrc guide right now, but I think
>>> including ../../mk/pthread.buildlink3.mk is a good first step.
>>
>> I've tried that. It does not work, -lpthread does not show up.
>
> You probably need something like this:
>
> CFLAGS+=      ${PTHREAD_CFLAGS}
> LDFLAGS+=     ${PTHREAD_LDFLAGS}
> LIBS+=                ${PTHREAD_LIBS}

PTHREAD_AUTO_VARS=yes

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index