From owner-svn-ports-all@FreeBSD.ORG Sat Jun 7 09:38:11 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 B1F7D42E; Sat, 7 Jun 2014 09:38:11 +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 9F69A2E19; Sat, 7 Jun 2014 09:38:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s579cBKt015180; Sat, 7 Jun 2014 09:38:11 GMT (envelope-from rakuco@svn.freebsd.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s579cBIn015179; Sat, 7 Jun 2014 09:38:11 GMT (envelope-from rakuco@svn.freebsd.org) Message-Id: <201406070938.s579cBIn015179@svn.freebsd.org> From: Raphael Kubo da Costa Date: Sat, 7 Jun 2014 09:38:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356888 - head/databases/py-qt4-sql X-SVN-Group: ports-head 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 09:38:11 -0000 Author: rakuco Date: Sat Jun 7 09:38:11 2014 New Revision: 356888 URL: http://svnweb.freebsd.org/changeset/ports/356888 QAT: https://qat.redports.org/buildarchive/r356888/ Log: Add explicit dependency on qt4-gui. For some reason, PyQt's configure.py adds a dependency on QtGui when figuring out if QtSql is installed. When the API option is on, this dependency is always installed indirectly, but things fail if it is turned off. From configure's build log: Checking to see if the QtSql module should be built... c++ -DQT_NO_DEBUG -DQT_SQL_LIB -I. -I/usr/local/share/qt4/mkspecs/default -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -O2 -w -pthread -D_THREAD_SAFE cfgtest_QtSql.cpp -o cfgtest_QtSql -L/usr/local/lib/qt4 -L/usr/local/lib -Wl,-O1 -Wl,-rpath,/usr/local/lib/qt4 -lQtSql -L/usr/local/lib/qt4 -L/usr/local/lib/qt4 -L/usr/local/lib -lQtCore -L/usr/local/lib/qt4 -L/usr/local/lib/qt4 -L/usr/local/lib -lQtGui -lXext -lX11 -lm /usr/bin/ld: cannot find -lQtGui c++: error: linker command failed with exit code 1 (use -v to see invocation) PR: 183706 MFH: 2014Q2 Modified: head/databases/py-qt4-sql/Makefile Modified: head/databases/py-qt4-sql/Makefile ============================================================================== --- head/databases/py-qt4-sql/Makefile Sat Jun 7 09:25:58 2014 (r356887) +++ head/databases/py-qt4-sql/Makefile Sat Jun 7 09:38:11 2014 (r356888) @@ -3,6 +3,7 @@ PORTNAME= sql PORTVERSION= ${PYQT4_VERSION} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= databases 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 sql qmake_build +USE_QT4= moc_build gui sql qmake_build OPTIONS_DEFINE= API OPTIONS_DEFAULT=API