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 Sun, 23 Aug 2009 17:29:18 +0900, Jukka Salmi 
<> wrote:

> both archivers/lzmalib and archivers/xz contain the files lib/liblzma.a
> and lib/, but the two packages don't conflict with each other.
> How should this be fixed?

Marked as CONFLICTS each other.  Thanks!

> BTW, I noticed this while trying to pkg_add the xz package; it failed
> because the lzmalib package was already installed (as a dependency of
> databases/tokyocabinet).  But while building and installing those
> packages using `make package', pkgsrc did not notice the problem; the
> later package just overwrote the conflicting files.  Is this expected
> behaviour?

Whereas pkg_add can detect conflicts with CONTENTS metadata,
`make install' cannot detect it on ahead because complete CONTENTS will
be generated after installation.

You can avoid almost of this issue with USE_DESTDIR=yes.

"Of course I love NetBSD":-)
OBATA Akio /

Home | Main Index | Thread Index | Old Index