Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2013 21:08:15 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337455 - head/games/kiki
Message-ID:  <201312252108.rBPL8FZ4009220@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312252108.rBPL8FZ4009220>