pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/devilutionx devilutionx: Require gcc 4.9 or high...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48a194489e42
branches:  trunk
changeset: 397852:48a194489e42
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 05 08:07:18 2019 +0000

description:
devilutionx: Require gcc 4.9 or higher for std::make_unique.

diffstat:

 games/devilutionx/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r bf8e0eca175b -r 48a194489e42 games/devilutionx/Makefile
--- a/games/devilutionx/Makefile        Fri Jul 05 08:01:31 2019 +0000
+++ b/games/devilutionx/Makefile        Fri Jul 05 08:07:18 2019 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index