summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-25 21:08:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-25 21:08:15 +0000
commit9a57e8b7e38844bb2c1f9ab7fa350a8721f6fb99 (patch)
tree31bca24a3537cd552b68817e585754ae1f778151 /games
parent- Update to 0.9.33 (diff)
- Better way to use clang-specific option
Notes
Notes: svn path=/head/; revision=337455
Diffstat (limited to 'games')
-rw-r--r--games/kiki/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/kiki/Makefile b/games/kiki/Makefile
index d36aaa5aa079..f800590c752e 100644
--- a/games/kiki/Makefile
+++ b/games/kiki/Makefile
@@ -14,7 +14,7 @@ COMMENT= Kiki the nanobot is a 3-D puzzle game
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_PYTHON= 2.5+
-USES= gmake dos2unix
+USES= gmake dos2unix compiler
USE_GL= gl glu glut
USE_SDL= sdl mixer image
DOS2UNIX_REGEX= .*/(Makefile|.*\.cpp|.*\.h|.*\.i)$
@@ -33,9 +33,9 @@ DESKTOP_ENTRIES="kiki the nanobot" \
"Game;LogicGame;" \
false
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 1000000
+.if ${COMPILER_TYPE} == "clang"
# these are critical, detect them if possible
CXXFLAGS+= -Werror=tautological-constant-out-of-range-compare
.endif
@@ -54,4 +54,4 @@ do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "py sound" ${STAGEDIR}${DATADIR}/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>