Skip to content

Commit

Permalink
ogre: Convert to using FORCE_CXX_STD
Browse files Browse the repository at this point in the history
  • Loading branch information
alarixnia committed Nov 16, 2023
1 parent 54d87b6 commit be43566
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions devel/ogre/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down

0 comments on commit be43566

Please sign in to comment.