From 7eafa6e1ebf6503c2f4f8143522ae38833f8a7ae Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Wed, 9 Sep 2020 14:17:07 +0000 Subject: [PATCH] Add compiler:c++11-lang to USES to fix build on GCC-based systems: CMake Error in CMakeLists.txt: Target "pdal_io_numpy_test" requires the language dialect "CXX11" , but CMake does not know the compile flags to use to enable it. Approved by: portmgr (tier-2 blanket) --- math/py-pdal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/py-pdal/Makefile b/math/py-pdal/Makefile index dd4c00978293..99ec4c138fa2 100644 --- a/math/py-pdal/Makefile +++ b/math/py-pdal/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= libpdal_base.so:math/pdal RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ ${PYNUMPY} -USES= python:3.6+ +USES= compiler:c++11-lang python:3.6+ USE_PYTHON= autoplist cython distutils post-install: