aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2018-10-29 03:41:53 +0800
committerlinimon <linimon@FreeBSD.org>2018-10-29 03:41:53 +0800
commitd021bcb82bae7693a14e8e88bd67cbc350a36567 (patch)
treef536eb88b905bc9a198cf4317fa04f8e03332e99 /games
parent081d7addac378422e3c66cb611f258f5e6703d03 (diff)
downloadfreebsd-ports-gnome-d021bcb82bae7693a14e8e88bd67cbc350a36567.tar.gz
freebsd-ports-gnome-d021bcb82bae7693a14e8e88bd67cbc350a36567.tar.zst
freebsd-ports-gnome-d021bcb82bae7693a14e8e88bd67cbc350a36567.zip
Fix build with GCC-based architectures.
PR: 232129 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Diffstat (limited to 'games')
-rw-r--r--games/toycars/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/toycars/Makefile b/games/toycars/Makefile
index 257f3db479e8..8ba2fa2125bf 100644
--- a/games/toycars/Makefile
+++ b/games/toycars/Makefile
@@ -15,13 +15,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
-USES= gmake localbase
+USES= gl gmake localbase
+USE_CXXSTD= c++98
GNU_CONFIGURE= yes
USE_SDL= image sdl
USE_GL= gl glu
-CXXFLAGS+= -Wno-c++11-narrowing
-
PLIST_FILES= bin/toycars \
bin/toycars_track_editor \
bin/toycars_vehicle_editor