Date: Sat, 17 Sep 2016 13:26:11 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422322 - head/devel/py-cffi Message-ID: <201609171326.u8HDQBwp085264@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Sat Sep 17 13:26:11 2016 New Revision: 422322 URL: https://svnweb.freebsd.org/changeset/ports/422322 Log: Attempt to fix build on non-clang architectures (certain tier-2). PR: 212739 Approved by: maintainer Modified: head/devel/py-cffi/Makefile Modified: head/devel/py-cffi/Makefile ============================================================================== --- head/devel/py-cffi/Makefile Sat Sep 17 13:07:53 2016 (r422321) +++ head/devel/py-cffi/Makefile Sat Sep 17 13:26:11 2016 (r422322) @@ -18,14 +18,16 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycp TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest # Actually 2.6-2.7,3.2-3.5 -USES= localbase python +USES= localbase python compiler USE_PYTHON= autoplist distutils .include <bsd.port.pre.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 +.if ${COMPILER_TYPE:Mclang} CFLAGS+= -Wno-shift-negative-value .endif +.endif # Tests assume gcc, and fail on pure clang systems # Fixed in https://bitbucket.org/cffi/cffi/issues/271
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609171326.u8HDQBwp085264>