From owner-svn-ports-branches@FreeBSD.ORG Wed Apr 15 22:42:07 2015 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 57769ACD; Wed, 15 Apr 2015 22:42:07 +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 429DBF8F; Wed, 15 Apr 2015 22:42:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3FMg7Ga039364; Wed, 15 Apr 2015 22:42:07 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3FMg7Cu039363; Wed, 15 Apr 2015 22:42:07 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201504152242.t3FMg7Cu039363@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 15 Apr 2015 22:42:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r384077 - branches/2015Q2/x11-toolkits/wxgtk28 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2015 22:42:07 -0000 Author: antoine Date: Wed Apr 15 22:42:06 2015 New Revision: 384077 URL: https://svnweb.freebsd.org/changeset/ports/384077 Log: MFH: r384076 Fix build with GCC on recent head kernel by disabling PCH for GCC With hat: portmgr Modified: branches/2015Q2/x11-toolkits/wxgtk28/Makefile Directory Properties: branches/2015Q2/ (props changed) Modified: branches/2015Q2/x11-toolkits/wxgtk28/Makefile ============================================================================== --- branches/2015Q2/x11-toolkits/wxgtk28/Makefile Wed Apr 15 22:41:15 2015 (r384076) +++ branches/2015Q2/x11-toolkits/wxgtk28/Makefile Wed Apr 15 22:42:06 2015 (r384077) @@ -17,7 +17,7 @@ LIB_DEPENDS+= libpng.so:${PORTSDIR}/grap libtiff.so:${PORTSDIR}/graphics/tiff\ libexpat.so:${PORTSDIR}/textproc/expat2 -USES= iconv gmake pkgconfig tar:bzip2 +USES= compiler iconv gmake pkgconfig tar:bzip2 USE_XORG= x11 sm xxf86vm xinerama USE_GL= glu USE_GNOME= gtk20 pangox-compat @@ -100,10 +100,17 @@ pre-configure: CONFIGURE_ARGS+=--enable-unicode .endif +.include + +# GCC is broken with PCH: https://lists.freebsd.org/pipermail/svn-src-all/2015-March/101722.html +.if ${COMPILER_TYPE} == gcc +CONFIGURE_ARGS+= --disable-precomp-headers +.endif + post-patch: @${REINPLACE_CMD} -e 's|pkg_config_args --cflags|pkg_config_args pangox --cflags|g ; \ s|pkg_config_args --libs|pkg_config_args pangox --libs|g' \ -e 's|png_check_sig|png_sig_cmp|g' \ ${WRKSRC}/configure -.include +.include