pkgsrc-WIP-changes archive

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

0ad: Requires at least GCC 7 for C++17



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Wed Dec 15 16:46:11 2021 +0100
Changeset:	0d6f68c8b3b55a990fda053333486f37a00b9ffc

Modified Files:
	0ad/Makefile

Log Message:
0ad: Requires at least GCC 7 for C++17

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0d6f68c8b3b55a990fda053333486f37a00b9ffc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 0ad/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/0ad/Makefile b/0ad/Makefile
index e3a4c1a0a4..d1ca13b880 100644
--- a/0ad/Makefile
+++ b/0ad/Makefile
@@ -10,6 +10,8 @@ COMMENT=	Historical real-time strategy game
 LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/-unix-build//}
+# Requires C++17 and add "--std" option itself
+GCC_REQD+=	7
 USE_LANGUAGES=	c c++
 
 USE_TOOLS+=	gmake perl bash pkg-config


Home | Main Index | Thread Index | Old Index