Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2020 14:17:07 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548093 - head/math/py-pdal
Message-ID:  <202009091417.089EH7rk012294@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Sep  9 14:17:07 2020
New Revision: 548093
URL: https://svnweb.freebsd.org/changeset/ports/548093

Log:
  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)

Modified:
  head/math/py-pdal/Makefile

Modified: head/math/py-pdal/Makefile
==============================================================================
--- head/math/py-pdal/Makefile	Wed Sep  9 13:48:13 2020	(r548092)
+++ head/math/py-pdal/Makefile	Wed Sep  9 14:17:07 2020	(r548093)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009091417.089EH7rk012294>