svn commit: r337455 - head/games/kiki
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Dec 25 21:08:16 UTC 2013
Author: amdmi3
Date: Wed Dec 25 21:08:15 2013
New Revision: 337455
URL: http://svnweb.freebsd.org/changeset/ports/337455
Log:
- Better way to use clang-specific option
Modified:
head/games/kiki/Makefile
Modified: head/games/kiki/Makefile
==============================================================================
--- head/games/kiki/Makefile Wed Dec 25 20:20:28 2013 (r337454)
+++ head/games/kiki/Makefile Wed Dec 25 21:08:15 2013 (r337455)
@@ -14,7 +14,7 @@ COMMENT= Kiki the nanobot is a 3-D puzzl
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>
More information about the svn-ports-all
mailing list