pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/openttd openttd: properly transform -std argumen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e940501e559
branches:  trunk
changeset: 452958:4e940501e559
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 20 18:56:10 2021 +0000

description:
openttd: properly transform -std argument for older compilers

diffstat:

 games/openttd/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d7cd2264bc80 -r 4e940501e559 games/openttd/Makefile
--- a/games/openttd/Makefile    Thu May 20 15:45:44 2021 +0000
+++ b/games/openttd/Makefile    Thu May 20 18:56:10 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2021/05/04 17:08:05 nia Exp $
+# $NetBSD: Makefile,v 1.99 2021/05/20 18:56:10 nia Exp $
 
 DISTNAME=      openttd-1.11.2-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -36,6 +36,7 @@
 CMAKE_ARGS+=   -DCMAKE_DISABLE_FIND_PACKAGE_Grfcodec=ON
 
 BUILDLINK_TRANSFORM+=  opt:-std=c++17:-std=gnu++17 # alloca
+BUILDLINK_TRANSFORM+=  opt:-std=c++1z:-std=gnu++1z # alloca
 
 pre-configure:
        ${MKDIR} ${WRKSRC}/build



Home | Main Index | Thread Index | Old Index