Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 14:32:02 +0400
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        Alagarsamy <alagar@yahoo-inc.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Package A should replace Package B
Message-ID:  <cb5206420704090332mf7000c5k9577ec4731c38da1@mail.gmail.com>
In-Reply-To: <461A0E98.2030003@yahoo-inc.com>
References:  <461A0E98.2030003@yahoo-inc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/9/07, Alagarsamy <alagar@yahoo-inc.com> wrote:
>
> I had package A and package B. Package A does all the functions of
> Package B and some more functions.  So installing package A  should
> replace package B. So i need to have a 'REPLACES' like directive in
> Makefile of Package A which says "package A should replace package B".
> currently I can't find 'REPLACES' directive. Is there any otherway we
> can achieve this ?

Not this time of year, and it's not as simple as
you sound. Just tell the user he needs to remove
some packages before installing this one, and/or
just set CONFLICTS.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420704090332mf7000c5k9577ec4731c38da1>