summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-05 08:07:18 +0000
committernia <nia@pkgsrc.org>2019-07-05 08:07:18 +0000
commit9a36d2a7fbceab632d4d2c4cf309868473797d72 (patch)
treecc5c01c51eb004c0cb4e94ffa708310c4833b081 /games
parent23738b807ca1d206de5480904aca941b48e2fd16 (diff)
downloadpkgsrc-9a36d2a7fbceab632d4d2c4cf309868473797d72.tar.gz
devilutionx: Require gcc 4.9 or higher for std::make_unique.
Diffstat (limited to 'games')
-rw-r--r--games/devilutionx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/devilutionx/Makefile b/games/devilutionx/Makefile
index 48a85f3a02f..42cb1ff647b 100644
--- a/games/devilutionx/Makefile
+++ b/games/devilutionx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/07/03 10:58:12 nia Exp $
+# $NetBSD: Makefile,v 1.2 2019/07/05 08:07:18 nia Exp $
DISTNAME= devilutonx-0.4.0
CATEGORIES= games
@@ -13,7 +13,10 @@ LICENSE= unlicense
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
USE_CMAKE= yes
-USE_LANGUAGES= c c++03
+USE_LANGUAGES= c c++14
+
+# std::make_unique
+GCC_REQD+= 4.9
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
CMAKE_ARGS+= -DASAN=OFF