aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-05 23:49:17 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-05 23:49:17 +0000
commit861990012e4e7c37aab158797b20f79ec1f6310b (patch)
tree801b5a361e33fe705cb7f91f8b4106d514a2ff3f /games/xmoto
parent6e54ed8fb45e496ab4d9c56908dfcb3290686ad3 (diff)
downloadports-861990012e4e7c37aab158797b20f79ec1f6310b.tar.gz
ports-861990012e4e7c37aab158797b20f79ec1f6310b.zip
games/xmoto: fix build on GCC architectures
Builds fine using new GCC. MFH: 2020Q1 (fix build blanket)
Notes
Notes: svn path=/head/; revision=522172
Diffstat (limited to 'games/xmoto')
-rw-r--r--games/xmoto/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index e5d2f5ec2dcb..0a43d70237f9 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -20,10 +20,8 @@ LIB_DEPENDS= libode.so:devel/ode \
libcurl.so:ftp/curl \
libxdg-basedir.so:x11/libxdg-basedir
-BROKEN_powerpc64= fails to compile: hashtable.h: no match for call to __gnu_cxx::hash
-
GNU_CONFIGURE= yes
-USES= compiler:features dos2unix gl gmake gnome jpeg localbase lua:51 sdl sqlite xorg
+USES= compiler:c++11-lang dos2unix gl gmake gnome jpeg localbase lua:51 sdl sqlite xorg
USE_GNOME= libxml2
USE_SDL= sdl mixer ttf net
USE_GL= gl glu
@@ -58,12 +56,6 @@ ASIAN_TTF_CONFIGURE_OFF=--without-asian-ttf-file
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-BROKEN= does not build with gcc 4.2
-.endif
-
post-extract:
@${RM} -r ${WRKSRC}/src/ode
@@ -76,4 +68,4 @@ post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>