tech-pkg archive

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

Re: bsdtar, pkg_install and archivers/xz

On Wed, 14 Dec 2011, Joerg Sonnenberger wrote:

> On Wed, Dec 14, 2011 at 03:19:59PM +1300, Steven Drake wrote:
> > What should be done in the case of PREFER.xz == "pkgsrc" with bsdtar and
> > pkg_install?
> I don't see why anything special has to be done. 

With 'PREFER_PKGSRC=Yes' in mk.conf this is the result:
# ldd /usr/pkg/bin/bsdtar =>  (0x00007fff7b17e000) => /usr/pkg/lib/ (0x00007fb2ebba5000) => /lib/ (0x00007fb2eb988000) => /lib/ (0x00007fb2eb5ff000) => /lib/ (0x00007fb2eb3f7000)
        /lib64/ (0x00007fb2ebdca000)

The important thing to note is that zlib and bzip2 have been built into
the binary but lzma hasn't. 

> What's the point in arbitrary crippling it?

I don't want to cripple it, that's why my first suggestion was to treat 
lzma like zlib and bzip2 so that it gets built into the binarys.

Home | Main Index | Thread Index | Old Index