From owner-freebsd-ports@FreeBSD.ORG Fri Mar 22 12:44:07 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7C4A4A5F for ; Fri, 22 Mar 2013 12:44:07 +0000 (UTC) (envelope-from makc@issp.ac.ru) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id E4428677 for ; Fri, 22 Mar 2013 12:44:06 +0000 (UTC) Received: from mercury.ph.man.ac.uk [130.88.75.175:51849] (HELO/EHLO mercury.ph.man.ac.uk, authenticated with LOGIN) by mail.issp.ac.ru with ESMTP/inet id r2MCiHPi096359 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Fri, 22 Mar 2013 16:44:18 +0400 (MSK) From: Max Brazhnikov To: kde-freebsd@kde.org Subject: Re: [kde-freebsd] qt-3.3 conflicts with qt4-webkit Date: Fri, 22 Mar 2013 12:45:16 +0000 Message-ID: <5129171.6QJ8ILaC2g@mercury.ph.man.ac.uk> User-Agent: KMail/4.10.1 (FreeBSD/9.1-STABLE; KDE/4.10.1; amd64; ; ) In-Reply-To: <514B0D01.7020202@netfence.it> References: <514B0D01.7020202@netfence.it> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Andrea Venturoli , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 12:44:07 -0000 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