From owner-svn-ports-all@FreeBSD.ORG Wed Dec 25 21:08:16 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2478D74C; Wed, 25 Dec 2013 21:08:16 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1086E12EE; Wed, 25 Dec 2013 21:08:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBPL8FYO009221; Wed, 25 Dec 2013 21:08:15 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBPL8FZ4009220; Wed, 25 Dec 2013 21:08:15 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201312252108.rBPL8FZ4009220@svn.freebsd.org> From: Dmitry Marakasov Date: Wed, 25 Dec 2013 21:08:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337455 - head/games/kiki X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 21:08:16 -0000 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 +.include -.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 +.include