pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fix build packages on Haiku
On Wed, 21 May 2014 17:26:15 +0900, OBATA Akio <obache%NetBSD.org@localhost>
wrote:
> --On 2014/05/21 13:56 +0600 diger <admin%freenet59.ru@localhost> wrote:
>
>> Using BUILDLINK_TRANSFORM workaround may help to build the package, but
>> useless in resolving packages dependencies.
>> In case pthreads was not found on stage_depends pkgsrc will try to
build
>> a package "pth".
>>
>> With this patch pkgsrc uses system pthread:
>>
>> __________________________________________________________
>>
>> diff --git a/mk/pthread.builtin.mk b/mk/pthread.builtin.mk
>> index 883f910..80ab39f 100644
>> --- a/mk/pthread.builtin.mk
>> +++ b/mk/pthread.builtin.mk
>> @@ -2,7 +2,7 @@
>>
>> BUILTIN_PKG:= pthread
>>
>> -BUILTIN_FIND_LIBS:= pthread c_r rt
>> +BUILTIN_FIND_LIBS:= pthread c_r rt root
>> BUILTIN_FIND_HEADERS_VAR= H_PTHREAD
>> BUILTIN_FIND_HEADERS.H_PTHREAD= pthread.h
>>
>>
-------------------------------------------------------------------------
>> --------------
>> --
>> Diger
>> --
>
> Only existence of pthread.h header file is used to detect builtin
pthread,
> and I cannot reproduce the issue.
> On what package?
All packages include mk/pthread.buildlink3.mk
for example devel/p5-Test-Exception include lang/perl5/module.mk
===> Patching for p5-Test-Exception-0.32
===> Creating toolchain wrappers for p5-Test-Exception-0.32
ERROR: pth>=2.0.0 pth>=2.0.0 is not installed; can't buildlink files.
*** Error code 1
--
Diger
--
Home |
Main Index |
Thread Index |
Old Index