Package A should replace Package B

2007-04-09 Thread Alagarsamy


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 ?


Thanks,
Alagar

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Package A should replace Package B

2007-04-09 Thread Andrew Pantyukhin

On 4/9/07, Alagarsamy [EMAIL PROTECTED] 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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]