On Feb 11, 2009, at 18:13, O wrote:

On Wed, Feb 11, 2009 at 3:08 PM, MacPorts <[email protected]> wrote:
#18461: kdelibs3 kdelibs4 conflict
Is there any way to define this in the portfile?

That a port conflicts with another? No, there's no syntax for that.

It's probably fine to leave the port the way it is, and require the user to realize that they must deactivate kdelibs3 before they can install kdelibs4.

If you want to be extra nice, you could include a check perhaps in the pre-activate phase for the presence of a file that only kdelibs3 installs, and if it's present, you can return -code error "Please deactivate kdelibs3 before installing kdelibs4"

But we don't do that now for any of the -devel ports, for example.

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to