svn commit: r422322 - head/devel/py-cffi
Mark Linimon
linimon at FreeBSD.org
Sat Sep 17 13:26:12 UTC 2016
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
More information about the svn-ports-head
mailing list