Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2021 12:51:12 +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: r560768 - head/math/py-qdldl
Message-ID:  <202101081251.108CpCHP005253@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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