aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-07-11 00:21:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-07-11 00:21:04 +0800
commitef53a70b3bf5c4d73bafa8903f36afdfd9d0f99c (patch)
treeeb7e50c65aadde2013c1f4ceb230ee57f728f242 /games
parent27df5eeaa50f8a25584d4d10c34f9e9061bb6428 (diff)
downloadfreebsd-ports-gnome-ef53a70b3bf5c4d73bafa8903f36afdfd9d0f99c.tar.gz
freebsd-ports-gnome-ef53a70b3bf5c4d73bafa8903f36afdfd9d0f99c.tar.zst
freebsd-ports-gnome-ef53a70b3bf5c4d73bafa8903f36afdfd9d0f99c.zip
- Extend BROKEN condition: this is also broken on e.g. mips which still uses old gcc
Diffstat (limited to 'games')
-rw-r--r--games/xmoto/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index f9b3c372423a..3dee737bfa94 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -21,7 +21,7 @@ LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-USES= dos2unix gmake jpeg lua:51
+USES= compiler:features dos2unix gmake jpeg lua:51
USE_GNOME= libxml2
USE_SQLITE= 3
USE_SDL= sdl mixer ttf net
@@ -57,8 +57,8 @@ DESKTOP_ENTRIES="XMoto" \
.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-BROKEN= does not build
+.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
+BROKEN= does not build with gcc 4.2
.endif
post-extract: