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 15:21:45 +0900, OBATA Akio <obache%NetBSD.org@localhost>
wrote:
> Hi,
>
> --On 2014/05/21 11:24 +0600 diger <admin%freenet59.ru@localhost> wrote:
>
>>
>> // -lroot is required for Haiku to use pthread?
>> // I have thought that libroot is the default library (like a libc) and
>> // no need to be linked exactly.
>>
>> //
>> // -- // OBATA Akio / obata%lins.jp@localhost
>>
>>
>>
>>
>> You can use buildlinktransform, such:
>>
>>
>> BUILDLINK_TRANSFORM+= l:m:root
>> BUILDLINK_TRANSFORM+= l:pthread:root
>> BUILDLINK_TRANSFORM+= l:c:root
>
> It is workarounds for packages' abuse of hard coded -lm, -lphtead or
-lc.
> For -m and -lpthread, you can just drop them:
> BUILDLINK_TRANSFORM+= rm:-lm
> BUILDLINK_TRANSFORM+= rm:-lpthread
>
> It means that "BUILDLINK_LIBS.pthread=-lroot" is not required for Haiku
:)
I'm having trouble getting multimedia/ffmpeg2 to build package on Haiku:
http://myfreenet.ru/bulk-logs/20140212/META/report.html
pkgsrс trying build devel/pth
--
Diger
--
Home |
Main Index |
Thread Index |
Old Index