git: 09935e0b337e - main - benchmarks/kdiskmark: add compiler:c++11-lang to USES to fix build on

Mark Linimon linimon at FreeBSD.org
Thu Jun 3 22:56:28 UTC 2021


The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=09935e0b337e2b39e7c3e1645ba2b2109054f916

commit 09935e0b337e2b39e7c3e1645ba2b2109054f916
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-03 22:55:50 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-06-03 22:56:19 +0000

    benchmarks/kdiskmark: add compiler:c++11-lang to USES to fix build on
    
    GCC-based systems:
    
      CMake Error in CMakeLists.txt:
      The compiler feature "cxx_decltype" is not known to CXX compiler "GNU" version 4.2.1.
---
 benchmarks/kdiskmark/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/kdiskmark/Makefile b/benchmarks/kdiskmark/Makefile
index d866001a95f1..e0f8b39534e7 100644
--- a/benchmarks/kdiskmark/Makefile
+++ b/benchmarks/kdiskmark/Makefile
@@ -15,7 +15,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	JonMagon
 GH_PROJECT=	KDiskMark
 
-USES=		cmake kde:5 qt:5
+USES=		cmake compiler:c++11-lang kde:5 qt:5
 USE_QT=		buildtools_build linguisttools_build qmake_build \
 		core gui widgets
 USE_KDE=	auth coreaddons


More information about the dev-commits-ports-main mailing list