tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: DESTDIR bulk build?
On Wed, Jun 18, 2008 at 11:43:47PM +0300, Aleksey Cheusov wrote:
> How about implementing this in pkgsrc directly, that is
> set PKG_DESTDIR_SUPPORT to user-destdir when USE_DESTDIR is set.
>
> IMHO, setting PKG_DESTDIR_SUPPORT in EVERY pkgsrc package is just impractical
>
> In other words, I suggest the following: if USE_DESTDIR is set, use
> PKG_DESTDIR_SUPPORT if it set (user-destdir/destdir/none) and set it
> to user-destdir if it not defined.
Usually, for global changes like this one, we test them on a
one-by-one basis and mark packages as tested. When the majority (or
all) is switched, we revert the defaults and remove unnecessary
markers.
While this causes more churn in the Makefiles, it's a more stable
process.
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index