Package A should replace Package B

Andrew Pantyukhin infofarmer at
Mon Apr 9 10:32:04 UTC 2007

On 4/9/07, Alagarsamy <alagar at> 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.

More information about the freebsd-ports mailing list