Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 11:40:30 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6cab9b5adf6d - main - science/xcfun: fix build on GCC-based systems
Message-ID:  <202106071140.157BeUeL015655@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6cab9b5adf6da8186d4cf679dfc3cae4e094f513

commit 6cab9b5adf6da8186d4cf679dfc3cae4e094f513
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-06-07 11:38:43 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2021-06-07 11:38:43 +0000

    science/xcfun: fix build on GCC-based systems
    
    by adding compiler:c++11-lang to USES:
    
      CMake Error in /wrkdirs/usr/ports/science/xcfun/work/.build/CMakeFiles/CMakeTmp/CMakeLists.txt:
      Target "cmTC_6be99" requires the language dialect "CXX11" , but CMake does
      not know the compile flags to use to enable it.
---
 science/xcfun/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/xcfun/Makefile b/science/xcfun/Makefile
index f09d643933d2..2b57fa857a8e 100644
--- a/science/xcfun/Makefile
+++ b/science/xcfun/Makefile
@@ -10,7 +10,7 @@ COMMENT=	Exchange-correlation functionals with arbitrary-order derivatives
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
-USES=		cmake
+USES=		cmake compiler:c++11-lang
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes



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