Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 07:00:02 +0000 (UTC)
From:      Akinori MUSHA <knu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308368 - head/games/stonesoup
Message-ID:  <201212060700.qB6702Kx083967@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: knu
Date: Thu Dec  6 07:00:02 2012
New Revision: 308368
URL: http://svnweb.freebsd.org/changeset/ports/308368

Log:
  Revert the future-import from bsd.compiler.mk part, as this may have
  broken INDEX.
  
  Pointed out by:	cperciva
  Feature safe:	yes

Modified:
  head/games/stonesoup/Makefile

Modified: head/games/stonesoup/Makefile
==============================================================================
--- head/games/stonesoup/Makefile	Thu Dec  6 06:37:59 2012	(r308367)
+++ head/games/stonesoup/Makefile	Thu Dec  6 07:00:02 2012	(r308368)
@@ -52,27 +52,7 @@ MAKE_ARGS=	prefix=${PREFIX} \
 
 .include <bsd.port.options.mk>
 
-.if !defined(COMPILER_TYPE)
-.if ${CC:T:Mgcc*}
-COMPILER_TYPE:= gcc
-.elif ${CC:T:Mclang}
-COMPILER_TYPE:= clang
-.elif ${CC:T} == "cc"
-_COMPILER_VERSION!=     ${CC} --version
-.if ${_COMPILER_VERSION:Mgcc}
-COMPILER_TYPE:= gcc
-.elif ${_COMPILER_VERSION:M\(GCC\)}
-COMPILER_TYPE:= gcc
-.elif ${_COMPILER_VERSION:Mclang}
-COMPILER_TYPE:= clang
-.endif
-.undef _COMPILER_VERSION
-.else
-COMPILER_TYPE:= ${CC:T}
-.endif
-.endif
-
-.if ${COMPILER_TYPE} == "clang"
+.if ${CC:T:M*clang*}
 MAKE_ARGS+=	NO_INLINE_DEPGEN=1
 .endif
 



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