pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/openttd



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 20 18:56:10 UTC 2021

Modified Files:
        pkgsrc/games/openttd: Makefile

Log Message:
openttd: properly transform -std argument for older compilers


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/games/openttd/Makefile

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

Modified files:

Index: pkgsrc/games/openttd/Makefile
diff -u pkgsrc/games/openttd/Makefile:1.98 pkgsrc/games/openttd/Makefile:1.99
--- pkgsrc/games/openttd/Makefile:1.98  Tue May  4 17:08:05 2021
+++ pkgsrc/games/openttd/Makefile       Thu May 20 18:56:10 2021
@@ -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_PACKAG
 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