svn commit: r321961 - head/audio/xmms-sapplug

Emanuel Haupt ehaupt at FreeBSD.org
Fri Jun 28 13:10:30 UTC 2013


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


More information about the svn-ports-all mailing list