tech-pkg archive

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

Re: "make replace" when package is not already installed

Alan Barrett <> writes:

> On Fri, 10 May 2013, matthew sporleder wrote:
>>- I'm not sure how to reliably test if the package is already
>>installed and make replace doesn't handle it for me like pkg_add does.
> I have patched "make replace" to make it work when the package is not
> already installed.  I think the attached patch is all you need.
> Please try it.
> If people other than you and me are interested, then I can commit it.

So the idea is to use this one sets DEPENDS_TARGET=replace, and then
one gets the replace-or-install behavior?   That sounds good to me, and I
think it will satisfy Matthew's needs.

I'll try your patch when I have a chance.

Attachment: pgpW4PfrZq91Y.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index