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: Mon Mar 23 10:29:30 UTC 2020
Modified Files:
pkgsrc/games/openttd: Makefile
Log Message:
openttd: Force gnu++11 properly, for alloca.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 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.84 pkgsrc/games/openttd/Makefile:1.85
--- pkgsrc/games/openttd/Makefile:1.84 Sun Mar 8 16:49:45 2020
+++ pkgsrc/games/openttd/Makefile Mon Mar 23 10:29:30 2020
@@ -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
Home |
Main Index |
Thread Index |
Old Index