From owner-svn-ports-all@FreeBSD.ORG Sun Mar 23 19:58:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93B8CDD1; Sun, 23 Mar 2014 19:58:34 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7EEEBEEF; Sun, 23 Mar 2014 19:58:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NJwYrX068893; Sun, 23 Mar 2014 19:58:34 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2NJwXQO068888; Sun, 23 Mar 2014 19:58:33 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201403231958.s2NJwXQO068888@svn.freebsd.org> From: Tijl Coosemans Date: Sun, 23 Mar 2014 19:58:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348886 - in head: Mk devel/qt4-corelib devel/qt4/files devel/qt5-core devel/qt5/files 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.17 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: Sun, 23 Mar 2014 19:58:34 -0000 Author: tijl Date: Sun Mar 23 19:58:33 2014 New Revision: 348886 URL: http://svnweb.freebsd.org/changeset/ports/348886 QAT: https://qat.redports.org/buildarchive/r348886/ Log: - Make Qt4 and Qt5 respect CXXFLAGS during configure so they pick up -DLIBICONV_PLUG from USES=iconv and always use libc iconv when it is available. - Remove the iconv dependency from Qt5. It uses icu instead. PR: ports/186707 Approved by: kde (makc) Added: head/devel/qt4/files/extrapatch-config.tests-unix-compile.test (contents, props changed) head/devel/qt5/files/extrapatch-config.tests-unix-compile.test (contents, props changed) Modified: head/Mk/bsd.qt.mk head/devel/qt4-corelib/Makefile head/devel/qt5-core/Makefile Modified: head/Mk/bsd.qt.mk ============================================================================== --- head/Mk/bsd.qt.mk Sun Mar 23 19:50:59 2014 (r348885) +++ head/Mk/bsd.qt.mk Sun Mar 23 19:58:33 2014 (r348886) @@ -166,7 +166,8 @@ CONFIGURE_ARGS+=-verbose . endif . if ${QT_DIST} == "base" || ${_QT_VERSION:M4*} -EXTRA_PATCHES?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-configure +EXTRA_PATCHES?= ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-configure \ + ${.CURDIR:H:H}/devel/${_QT_RELNAME}/files/extrapatch-config.tests-unix-compile.test . if ${_QT_VERSION:M5*} EXTRA_PATCHES+= ${.CURDIR:H:H}/devel/qt5-core/files/extrapatch-src__corelib__tools__qdatetime.cpp . endif Modified: head/devel/qt4-corelib/Makefile ============================================================================== --- head/devel/qt4-corelib/Makefile Sun Mar 23 19:50:59 2014 (r348885) +++ head/devel/qt4-corelib/Makefile Sun Mar 23 19:58:33 2014 (r348886) @@ -3,7 +3,7 @@ PORTNAME= corelib DISTVERSION= ${QT4_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel PKGNAMEPREFIX= qt4- Added: head/devel/qt4/files/extrapatch-config.tests-unix-compile.test ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/qt4/files/extrapatch-config.tests-unix-compile.test Sun Mar 23 19:58:33 2014 (r348886) @@ -0,0 +1,11 @@ +--- config.tests/unix/compile.test.orig ++++ config.tests/unix/compile.test +@@ -13,7 +13,7 @@ + shift 7 + LFLAGS="$SYSROOT_FLAG" + INCLUDEPATH="" +-CXXFLAGS="$SYSROOT_FLAG" ++CXXFLAGS="$CXXFLAGS $SYSROOT_FLAG" + MAC_ARCH_CXXFLAGS="" + MAC_ARCH_LFLAGS="" + while [ "$#" -gt 0 ]; do Modified: head/devel/qt5-core/Makefile ============================================================================== --- head/devel/qt5-core/Makefile Sun Mar 23 19:50:59 2014 (r348885) +++ head/devel/qt5-core/Makefile Sun Mar 23 19:58:33 2014 (r348886) @@ -2,6 +2,7 @@ PORTNAME= core DISTVERSION= ${QT5_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- @@ -14,14 +15,13 @@ LIB_DEPENDS= libicui18n.so:${PORTSDIR}/d USE_GNOME= glib20 USE_QT5= qmake_build buildtools_build QT_DIST= base -USES= iconv HAS_CONFIGURE= yes # Disable (almost) everything to install minimal qconfig.h. # -no-feature-* adds QT_NO_* (for features which have no switch or # that need to be detected). CONFIGURE_ARGS= -no-accessibility -no-gif -no-libpng -no-libjpeg \ -no-openssl -no-gui -no-widgets -no-cups \ - -no-feature-iconv -no-dbus -no-xcb -no-opengl \ + -no-iconv -no-dbus -no-xcb -no-opengl \ -no-feature-glib -no-feature-alsa \ -no-feature-concurrent -no-feature-evdev \ -no-fontconfig -no-freetype \ @@ -34,17 +34,11 @@ USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src/corelib INSTALL_WRKSRC= ${BUILD_WRKSRC} -QT_DEFINES= GLIB ICONV +QT_DEFINES= GLIB QT_CONFIG= glib icu .include -.if ${ICONV_PREFIX} == "/usr" -QT_CONFIG+= sun-libiconv -.else -QT_CONFIG+= gnu-libiconv -.endif - post-install: ${INSTALL_DATA} ${WRKSRC}/src/3rdparty/harfbuzz/src/harfbuzz*.h \ ${STAGEDIR}${PREFIX}/${QT_INCDIR_REL}/QtCore/${QT5_VERSION:C/-.*//}/QtCore/private Added: head/devel/qt5/files/extrapatch-config.tests-unix-compile.test ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/qt5/files/extrapatch-config.tests-unix-compile.test Sun Mar 23 19:58:33 2014 (r348886) @@ -0,0 +1,11 @@ +--- config.tests/unix/compile.test.orig ++++ config.tests/unix/compile.test +@@ -13,7 +13,7 @@ + shift 7 + LFLAGS="$SYSROOT_FLAG" + INCLUDEPATH="" +-CXXFLAGS="$SYSROOT_FLAG" ++CXXFLAGS="$CXXFLAGS $SYSROOT_FLAG" + MAC_ARCH_CXXFLAGS="" + MAC_ARCH_LFLAGS="" + while [ "$#" -gt 0 ]; do