pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/openttd openttd: Force gnu++11 properly, for all...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/718f050c2ac0
branches:  trunk
changeset: 413942:718f050c2ac0
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 23 10:29:30 2020 +0000

description:
openttd: Force gnu++11 properly, for alloca.

Bump PKGREVISION

diffstat:

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

diffs (32 lines):

diff -r 7f34562d0cf8 -r 718f050c2ac0 games/openttd/Makefile
--- a/games/openttd/Makefile    Mon Mar 23 10:22:35 2020 +0000
+++ b/games/openttd/Makefile    Mon Mar 23 10:29:30 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.84 2020/03/08 16:49:45 wiz Exp $
+# $NetBSD: Makefile,v 1.85 2020/03/23 10:29:30 nia Exp $
 
 DISTNAME=      openttd-1.9.3-source
 PKGNAME=       ${DISTNAME:S/-source//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    games
 MASTER_SITES=  https://proxy.binaries.openttd.org/openttd-releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -14,7 +14,7 @@
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 HAS_CONFIGURE= yes
-USE_LANGUAGES= c gnu++11
+USE_LANGUAGES= c c++
 USE_TOOLS+=    gmake pkg-config
 BUILD_DEFS+=   VARBASE
 BUILD_TARGET=  bundle
@@ -22,6 +22,8 @@
 # C++11
 GCC_REQD+=     4.8
 
+BUILDLINK_TRANSFORM+=  opt:-std=c++11:-std=gnu++11 # alloca
+
 CONFIGURE_ARGS+=       --prefix-dir=${PREFIX}
 CONFIGURE_ARGS+=       --binary-dir=bin
 CONFIGURE_ARGS+=       --data-dir=share/openttd



Home | Main Index | Thread Index | Old Index