aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-09-25 08:05:47 +0800
committerjbeich <jbeich@FreeBSD.org>2017-09-25 08:05:47 +0800
commite8d64338c2f3c73041f3b93a0bc13ff73ef72924 (patch)
treec320c8c211fc3951de6ce788fefd1a3190d4445c
parentd5561bd0ee61fa169266e7a4eb6910cd27b8a760 (diff)
downloadfreebsd-ports-gnome-e8d64338c2f3c73041f3b93a0bc13ff73ef72924.tar.gz
freebsd-ports-gnome-e8d64338c2f3c73041f3b93a0bc13ff73ef72924.tar.zst
freebsd-ports-gnome-e8d64338c2f3c73041f3b93a0bc13ff73ef72924.zip
games/stuntrally: switch to C++11 for Boost
PR: 222189
-rw-r--r--games/stuntrally/Makefile8
-rw-r--r--games/stuntrally/distinfo2
2 files changed, 7 insertions, 3 deletions
diff --git a/games/stuntrally/Makefile b/games/stuntrally/Makefile
index 6ede8cad05cf..bc06ce78bdb0 100644
--- a/games/stuntrally/Makefile
+++ b/games/stuntrally/Makefile
@@ -9,17 +9,19 @@ CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 3D racing game based on VDrift and OGRE with track editor
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES= f7703d8d3f30.patch:-p1
+
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/License.txt
-BROKEN= fails to build against Boost with C++11 features, see bug 222189
-
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USE_GITHUB= yes
GH_TUPLE= stuntrally:tracks:${PORTVERSION}:tracks/data/tracks
-USES= cmake:outsource dos2unix pkgconfig
+USES= compiler:c++11-lib cmake:outsource dos2unix pkgconfig
+USE_CXXSTD= gnu++11
DOS2UNIX_FILES= source/ogre/BaseApp_Create.cpp
CMAKE_ARGS= -DSHARE_INSTALL="${DATADIR_REL}" \
-DBULLET_ROOT="${LOCALBASE}"
diff --git a/games/stuntrally/distinfo b/games/stuntrally/distinfo
index ea51528268d5..29975a414989 100644
--- a/games/stuntrally/distinfo
+++ b/games/stuntrally/distinfo
@@ -3,3 +3,5 @@ SHA256 (stuntrally-stuntrally-2.6_GH0.tar.gz) = 8cc309d27d26f78dcc596440547d68b5
SIZE (stuntrally-stuntrally-2.6_GH0.tar.gz) = 651577187
SHA256 (stuntrally-tracks-2.6_GH0.tar.gz) = 4bce700516a2a178ac04cfbf7df2887ba42225802f5a3e670f770ea01345687b
SIZE (stuntrally-tracks-2.6_GH0.tar.gz) = 355793120
+SHA256 (f7703d8d3f30.patch) = 25d881ab7e21b438cfedd2a9c7c813e93c7143e87b7a99ef734025d998444282
+SIZE (f7703d8d3f30.patch) = 5343