Date: Thu, 21 Mar 2019 12:29:49 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496448 - head/devel/py-lxml Message-ID: <201903211229.x2LCTnSa026837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Thu Mar 21 12:29:48 2019 New Revision: 496448 URL: https://svnweb.freebsd.org/changeset/ports/496448 Log: devel/py-lxml: fix build on gcc-based archs PR: 236688 Submitted by: linimon Reported by: Piotr Kubaj Modified: head/devel/py-lxml/Makefile Modified: head/devel/py-lxml/Makefile ============================================================================== --- head/devel/py-lxml/Makefile Thu Mar 21 12:19:33 2019 (r496447) +++ head/devel/py-lxml/Makefile Thu Mar 21 12:29:48 2019 (r496448) @@ -33,4 +33,11 @@ post-install-DOCS-on: ${INSTALL_DATA} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +# on gcc-based architectures, use modern GCC due to use of #pragma +.if ${ARCH} == mips || ${ARCH} == mips64 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpcspe || ${ARCH} == sparc64 +USE_GCC= yes +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903211229.x2LCTnSa026837>