pkgsrc-Users archive

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

Re: packages going to the wrong place?

On May 18, 2011, at 3:06 36PM, Aleksey Cheusov wrote:

>> I'm trying to reinstall all of my packages, but the installations
>> seems to be going to the wrong place.  Here's a typical line from
>> doing a 'make update' in pkgtools/pkg_install:
>>      /usr/bin/install -c -o root -g wheel pkg_info 
>> /usr/pkgsrc/pkgtools/pkg_install/work/.destdir/usr/pkg/sbin/pkg_info
> Recently DESTDIR support was enabled by default.
> This is why files are installed to .destdir directory.
> DESTDIR goal:
> First, binary package is created safely without changing your /.
> Second, package is installed using newly created binary.
So I *must* put DESTDIR=/usr/pkg or some such in mk.conf?

                --Steve Bellovin,

Home | Main Index | Thread Index | Old Index