Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2013 13:10:29 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321961 - head/audio/xmms-sapplug
Message-ID:  <201306281310.r5SDATgW060904@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Jun 28 13:10:29 2013
New Revision: 321961
URL: http://svnweb.freebsd.org/changeset/ports/321961

Log:
  Use ${CC} instead of 'clang' to detect whether /usr/bin/cc is gcc or clang.

Modified:
  head/audio/xmms-sapplug/Makefile

Modified: head/audio/xmms-sapplug/Makefile
==============================================================================
--- head/audio/xmms-sapplug/Makefile	Fri Jun 28 13:06:36 2013	(r321960)
+++ head/audio/xmms-sapplug/Makefile	Fri Jun 28 13:10:29 2013	(r321961)
@@ -29,7 +29,7 @@ OPTIONS_DEFINE=	OPTIMIZED_CFLAGS
 
 .include <bsd.port.options.mk>
 
-_CLANG!=	clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/'
+_CLANG!=	${CC} --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/'
 
 .if ${CXX:T} != "clang++" && !defined(_CLANG)
 CXXFLAGS+=	--no-exceptions



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