From owner-svn-ports-all@FreeBSD.ORG Sat Jun 7 13:58:25 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4A8B6DD5; Sat, 7 Jun 2014 13:58:25 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EF882FCC; Sat, 7 Jun 2014 13:58:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s57DwO9i031213; Sat, 7 Jun 2014 13:58:24 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s57DwO8x031212; Sat, 7 Jun 2014 13:58:24 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201406071358.s57DwO8x031212@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 7 Jun 2014 13:58:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r356903 - branches/2014Q2/devel/py-qt4-test X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 13:58:25 -0000 Author: rakuco Date: Sat Jun 7 13:58:24 2014 New Revision: 356903 URL: http://svnweb.freebsd.org/changeset/ports/356903 QAT: https://qat.redports.org/buildarchive/r356903/ Log: MFH: r356889 Add explicit dependency on qt4-gui. This is similar to r356888, in that PyQt's configure.py builds py-qt4-test with QtGui's libraries (even though, contrary to qt4-sql, it is not used at configuration time). Using QtGui defines QT_GUI_LIB, which makes the QtTest headers pull in QtGui ones. QtGui comes for free indirectly when the API option is set, but the build fails otherwise: c++ -c -O2 -pipe -fno-strict-aliasing -fPIC -O2 -Wall -W -pthread -D_THREAD_SAFE -DNDEBUG -DQT_NO_DEBUG -DQT_TEST_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/local/include/python2.7 -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4 -I/usr/local/include -o sipQtTestQTest.o sipQtTestQTest.cpp In file included from /wrkdirs/usr/ports/devel/py-qt4-test/work/PyQt-x11-gpl-4.10.3/sip/QtTest/qtestkeyboard.sip:31: /usr/local/include/qt4/QtTest/qtestkeyboard.h:56:10: fatal error: 'QtGui/qapplication.h' file not found PR: 183706 Approved by: portmgr (miwi) Modified: branches/2014Q2/devel/py-qt4-test/Makefile Directory Properties: branches/2014Q2/ (props changed) Modified: branches/2014Q2/devel/py-qt4-test/Makefile ============================================================================== --- branches/2014Q2/devel/py-qt4-test/Makefile Sat Jun 7 13:57:17 2014 (r356902) +++ branches/2014Q2/devel/py-qt4-test/Makefile Sat Jun 7 13:58:24 2014 (r356903) @@ -3,6 +3,7 @@ PORTNAME= test PORTVERSION= ${PYQT4_VERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_PYQT4} @@ -18,7 +19,7 @@ RUN_DEPENDS= ${PKGNAMEPREFIX}gui>=${PYQT DISTINFO_FILE= ${PYQT4_DISTINFO_FILE} HAS_CONFIGURE= yes USE_PYTHON= yes -USE_QT4= moc_build qtestlib qmake_build +USE_QT4= moc_build gui qtestlib qmake_build OPTIONS_DEFINE= API OPTIONS_DEFAULT=API