tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make replace
Benny Siegert <bsiegert%netbsd.org@localhost> writes:
> On Fri, 20 Mar 2026, Greg Troxel wrote:
>
>>> => Creating binary package /usr/pkgsrc/packages/All/graphviz-14.1.3.tgz
>>> ===> replace-message [graphviz-14.1.3] ===> Replacing for graphviz-14.1.3
>>> *** Error code 1
>>
>> That's a feature :-). You can't replace when the old version was
>> missing. You can package-install instead.
>
> Personally, I think it's a mis-feature. I wish there was a "make
> install-or-replace" that I can put as DEPENDS_TARGET, for example.
A fair point. (nit: it's package-install-or-replace because 'install'
installs to destdir).
This would let you build something whose deps were out of date and
replace them if a newer version is required. You might get into a
funny state and have to pkg_rr -uv, but now you basically have to do
that first.
Home |
Main Index |
Thread Index |
Old Index