From c8d94a92cb1d690a3dc052ff1ed7c0107af9b32a Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Wed, 18 Oct 2017 07:25:19 -0400 Subject: [PATCH] cmake: require C++11 for both release and devel. --- devel/cmake/Portfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/devel/cmake/Portfile b/devel/cmake/Portfile index 25a038f751927..f047900a5c9c6 100644 --- a/devel/cmake/Portfile +++ b/devel/cmake/Portfile @@ -4,6 +4,11 @@ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup compiler_blacklist_versions 1.0 +# require C++11 as of 2017-08-21 +# release 3.9.3 was 2017-09-20 +# https://gitlab.kitware.com/cmake/cmake/commit/c1f3eb9f2d628b2911aa17f65012fab0befc4b87 +PortGroup cxx11 1.1 + name cmake categories devel @@ -83,10 +88,6 @@ if {${subport} eq ${name}} { patch-CMakeFindFrameworks.cmake.devel.diff \ patch-Source_CMakeVersionCompute.cmake.devel.diff - # require C++11 as of 2017-08-21 - # https://gitlab.kitware.com/cmake/cmake/commit/c1f3eb9f2d628b2911aa17f65012fab0befc4b87 - PortGroup cxx11 1.1 - livecheck.type regex livecheck.regex /cmake/cmake/commit/(\[0-9a-g\]+) livecheck.version ${commit}