[kde-freebsd] qt-3.3 conflicts with qt4-webkit

Max Brazhnikov makc at issp.ac.ru
Fri Mar 22 12:45:16 UTC 2013


On Thu, 21 Mar 2013 14:37:05 +0100 Andrea Venturoli wrote:
> Hello.
> 
> Up to today, I've had the two ports in subject installed without any 
> problem.
> Today, while making some upgrades, I see they conflict...
> 
> Why do they suddenly do this?

Because qt4 ports fail to build in the presence of qt3.

CONFLICTS_BUILD doesn't prevent you from having both packages installed,
it only means that you can't build the port if packages from CONFLICTS_BUILD
are already installed.

> I've looked in /usr/ports/x11-toolkits/qt33/Makefile: it CONFLICTS with 
> linguist-0.* qt-2.* qt-3.0.* qt-3.1.* qt-3.2.* qt-designer-2.* 
> xfmail-1.5.[0-5] xfmail-1.5.5_[1-2], but not with qt4-*.

Unlike CONFLICTS (or CONFLICTS_INSTALL), CONFLICTS_BUILD is not mutual.
 
> In /usr/ports/www/qt4-webkit/Makefile, there is no CONFLICT at all, so I 
> guessed this could come from /usr/ports/Mk/bsd.qt.mk.
> There I find:
> 
>  > .if defined(QT_DIST)
>  > ...
>  > CONFLICTS_BUILD=        qt-3.* qt-copy-3.*
> 
> This was introduced on March 15.
> 
> So, provided I need both as slaves ports of other applications (and I 
> don't think I'm alone), is there any way I can fix this?
> Why was this conflict set up in the first place?
> What is QT_DIST?

QT_DIST means that the ports is a part of Qt4 distribution.

Max





More information about the kde-freebsd mailing list