pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/warzone2100 warzone2100: Needs gnu standard vari...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2632c81987fb
branches:  trunk
changeset: 385694:2632c81987fb
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 24 08:31:23 2022 +0000

description:
warzone2100: Needs gnu standard variant to get alloca builtin

diffstat:

 games/warzone2100/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r e1e03a0e7e76 -r 2632c81987fb games/warzone2100/Makefile
--- a/games/warzone2100/Makefile        Sat Sep 24 08:27:52 2022 +0000
+++ b/games/warzone2100/Makefile        Sat Sep 24 08:31:23 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2022/09/11 12:51:49 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2022/09/24 08:31:23 nia Exp $
 
 DISTNAME=      warzone2100_src
 PKGNAME=       warzone2100-4.2.7
@@ -44,6 +44,9 @@
 
 BUILDLINK_TRANSFORM+=  rm:-Werror
 
+# Needs gnu standard variant to get alloca builtin.
+BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11
+
 pre-configure:
        ${RUN}${MKDIR} ${WRKSRC}/build
 



Home | Main Index | Thread Index | Old Index