Date: Wed, 15 Apr 2015 22:41:16 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384076 - head/x11-toolkits/wxgtk28 Message-ID: <201504152241.t3FMfGst038019@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Wed Apr 15 22:41:15 2015 New Revision: 384076 URL: https://svnweb.freebsd.org/changeset/ports/384076 Log: Fix build with GCC on recent head kernel by disabling PCH for GCC With hat: portmgr Modified: head/x11-toolkits/wxgtk28/Makefile Modified: head/x11-toolkits/wxgtk28/Makefile ============================================================================== --- head/x11-toolkits/wxgtk28/Makefile Wed Apr 15 22:39:54 2015 (r384075) +++ head/x11-toolkits/wxgtk28/Makefile Wed Apr 15 22:41:15 2015 (r384076) @@ -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 <bsd.port.pre.mk> + +# 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 <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504152241.t3FMfGst038019>