Skip to content

Commit be43566

Browse files
committed
ogre: Convert to using FORCE_CXX_STD
1 parent 54d87b6 commit be43566

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

devel/ogre/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.54 2023/11/12 13:21:08 wiz Exp $
1+
# $NetBSD: Makefile,v 1.55 2023/11/16 09:44:03 nia Exp $
22

33
DISTNAME= ogre-1.12.11
44
PKGREVISION= 3
@@ -14,10 +14,12 @@ LICENSE= gnu-lgpl-v2.1
1414
USE_CMAKE= yes
1515
USE_TOOLS+= pkg-config
1616
USE_LANGUAGES= c c++
17-
USE_LANGUAGES+= gnu++11 # uses alloca()
1817

1918
USE_CXX_FEATURES+= c++11 put_time
2019

20+
# Uses alloca(3)
21+
FORCE_CXX_STD= gnu++11
22+
2123
# Unsupported on some pkgsrc platforms (e.g. NetBSD).
2224
# It attempts to enable them solely based on the compiler version, which
2325
# doesn't work, and does not include good fallback.

0 commit comments

Comments
 (0)