1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add compiler:c++11-lang to USES to fix build on GCC-based systems:

/wrkdirs/usr/ports/math/py-qdldl/work-py37/qdldl-0.1.5.post0/c/amd/src/perm.c:23: error: 'for' loop initial declaration used outside C99 mode
  cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2021-01-08 12:51:12 +00:00
parent 7863df3dd1
commit bf01f8c054
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560768

View File

@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR}
USES= python:3.6+
USES= compiler:c++11-lang python:3.6+
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>