tech-pkg archive

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

Re: [Joerg Sonnenberger] CVS commit: pkgsrc/mk



On Sat, 30 Jan 2010 19:08:45 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> For me it is balancing two different groups. Developers that prepare
> updates etc and should bother to test destdir to not introduce
> regressions. The second set are those doing pkg_rr or whatever. At the
> moment I classify the former for importantly, especially because nothing
> forces you to use USE_DESTDIR during pkg_rr runs.

Sure, pkg_rr could enforce USE_DESTDIR=no. Regardless, the fact remains
that a bad regression has been introduced in the replace target because
it's now impossible to use "make replace" to repair a broken package:

# rm /usr/pkg/bin/bash
# cd pkgsrc/shells/bash
# make clean; make replace

I would expect the above to return the bash binary, but it doesn't.
Of course, this is not possible to do with binary packages either
without first uninstalling the package. I suppose pkg_add needs to
grow support for a "reinstall" option.

-Tobias


Home | Main Index | Thread Index | Old Index