diff options
author | nia <nia@pkgsrc.org> | 2020-03-23 10:29:30 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-03-23 10:29:30 +0000 |
commit | 9f7b08eefdfc42a826c88eba52eb5f6c608b4816 (patch) | |
tree | 196d505004b1cbab8f15b2f38077205794f505b8 /games/openttd | |
parent | e5b735353bf10ae82ae1ca6bea9fc9a1e4b14599 (diff) | |
download | pkgsrc-9f7b08eefdfc42a826c88eba52eb5f6c608b4816.tar.gz |
openttd: Force gnu++11 properly, for alloca.
Bump PKGREVISION
Diffstat (limited to 'games/openttd')
-rw-r--r-- | games/openttd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile index 777d5a6ec91..76e9b35e6a4 100644 --- a/games/openttd/Makefile +++ b/games/openttd/Makefile @@ -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 @@ LICENSE= gnu-gpl-v2 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 @@ BUILD_TARGET= bundle # 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 |