From be43566a559bd7d4bf8c021966ce1fb9c1d2f307 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 16 Nov 2023 09:44:03 +0000 Subject: [PATCH] ogre: Convert to using FORCE_CXX_STD --- devel/ogre/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devel/ogre/Makefile b/devel/ogre/Makefile index 1c31ce015b7d..d5f1a98a7172 100644 --- a/devel/ogre/Makefile +++ b/devel/ogre/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2023/11/12 13:21:08 wiz Exp $ +# $NetBSD: Makefile,v 1.55 2023/11/16 09:44:03 nia Exp $ DISTNAME= ogre-1.12.11 PKGREVISION= 3 @@ -14,10 +14,12 @@ LICENSE= gnu-lgpl-v2.1 USE_CMAKE= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ -USE_LANGUAGES+= gnu++11 # uses alloca() USE_CXX_FEATURES+= c++11 put_time +# Uses alloca(3) +FORCE_CXX_STD= gnu++11 + # Unsupported on some pkgsrc platforms (e.g. NetBSD). # It attempts to enable them solely based on the compiler version, which # doesn't work, and does not include good fallback.