pkgsrc-Users archive

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

Re: liblzma in both archivers/xz and archivers/lzmalib



On Tue, 25 Aug 2009 03:20:29 +0900, Jukka Salmi 
<j+nbsd%2009.salmi.ch@localhost> wrote:

> OBATA Akio --> pkgsrc-users (2009-08-23 18:31:31 +0900):
>> On Sun, 23 Aug 2009 17:29:18 +0900, Jukka Salmi 
>> <j+nbsd%2009.salmi.ch@localhost> wrote:
>>
>> > both archivers/lzmalib and archivers/xz contain the files lib/liblzma.a
>> > and lib/liblzma.so, but the two packages don't conflict with each other.
>> > How should this be fixed?
>>
>> Marked as CONFLICTS each other.  Thanks!
>
> Ok, but now archivers/xz and packages depending on archivers/lzmalib
> like databases/tokyocabinet are mutually exclusive...  Should LZMA
> support in tokyocabinet be made optional?  Or should the libraries in
> one of those two packages be renamed?

I don't like rename of libraries because it break outside of pkgsrc.

Once I added tokyocabinet to pkgsrc, xz package did not exist yet, no problem,
so enabled lzma support by default and not optionify.
I'll be optionify (enabled for continuity) at next update of tokyocabinet.

Perhaps, the best solution is "convert tokyocabinet to use liblzma from xz",
because when author of tokyocabinet added lzma support,  no easy-to-use lzma 
library,
then created liblzma.

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


Home | Main Index | Thread Index | Old Index