[MacPorts] #18461: kdelibs3 kdelibs4 conflict

Ryan Schmidt ryandesign at macports.org
Wed Feb 11 21:32:42 PST 2009


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

> On Wed, Feb 11, 2009 at 3:08 PM, MacPorts <noreply at macports.org>  
> 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.



More information about the macports-dev mailing list