svn commit: r560768 - head/math/py-qdldl
Mark Linimon
linimon at FreeBSD.org
Fri Jan 8 12:51:13 UTC 2021
Author: linimon
Date: Fri Jan 8 12:51:12 2021
New Revision: 560768
URL: https://svnweb.freebsd.org/changeset/ports/560768
Log:
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)
Modified:
head/math/py-qdldl/Makefile
Modified: head/math/py-qdldl/Makefile
==============================================================================
--- head/math/py-qdldl/Makefile Fri Jan 8 12:40:44 2021 (r560767)
+++ head/math/py-qdldl/Makefile Fri Jan 8 12:51:12 2021 (r560768)
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel
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>
More information about the svn-ports-all
mailing list