pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45078: pkgtools/pkg_install expand %D to destdir/pkgsrc_root
The following reply was made to PR pkg/45078; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/45078: pkgtools/pkg_install expand %D to destdir/pkgsrc_root
Date: Mon, 20 Jun 2011 16:44:05 +0200
On Mon, Jun 20, 2011 at 02:35:01PM +0000, Thomas Cort wrote:
> > > This changes pkg_add to expand %D to destdir/pkgsrc_root.
> >
> > Most PLISTs that still use @exec are certainly not ready for DESTDIR
> > and +INSTALL/+DEINSTALL already get it via environment. As such,
> > the packages should be fixed to not use @exec/@unexec.
>
> Could you explain this a little more. Aren't there some instances where
> the above patch would be useful?
It only works if the called binary exists outside the DESTDIR and
doesn't change anything at an absolute path (e.g. in VARBASE). That
limits the usefulness a lot.
Joerg
Home |
Main Index |
Thread Index |
Old Index