1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

devel/py-grpcio-tools: fix build with GCC-based architectures

Add USES=compiler:c++11-lang:
cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	mentors (implicit approval)
This commit is contained in:
Piotr Kubaj 2019-04-30 21:13:26 +00:00
parent 1acb198bb1
commit 6229de92ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500567

View File

@ -15,7 +15,7 @@ LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>1:devel/py-grpcio@${PY_FLAVOR}
LIB_DEPENDS= libcares.so:dns/c-ares
USES= localbase:ldflags python
USES= compiler:c++11-lang localbase:ldflags python
USE_PYTHON= autoplist distutils
CFLAGS+= -DHAVE_PTHREAD=1
LDFLAGS+= -lcares