Lines 18-31
Link Here
|
18 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest |
18 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest |
19 |
|
19 |
|
20 |
# Actually 2.6-2.7,3.2-3.5 |
20 |
# Actually 2.6-2.7,3.2-3.5 |
21 |
USES= localbase python |
21 |
USES= localbase python compiler |
22 |
USE_PYTHON= autoplist distutils |
22 |
USE_PYTHON= autoplist distutils |
23 |
|
23 |
|
24 |
.include <bsd.port.pre.mk> |
24 |
.include <bsd.port.pre.mk> |
25 |
|
25 |
|
26 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 |
26 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 |
|
|
27 |
.if ${COMPILER_TYPE:Mclang} |
27 |
CFLAGS+= -Wno-shift-negative-value |
28 |
CFLAGS+= -Wno-shift-negative-value |
28 |
.endif |
29 |
.endif |
|
|
30 |
.endif |
29 |
|
31 |
|
30 |
# Tests assume gcc, and fail on pure clang systems |
32 |
# Tests assume gcc, and fail on pure clang systems |
31 |
# Fixed in https://bitbucket.org/cffi/cffi/issues/271 |
33 |
# Fixed in https://bitbucket.org/cffi/cffi/issues/271 |