summaryrefslogtreecommitdiff
path: root/audio/xmms-sapplug/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-06-28 13:10:29 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-06-28 13:10:29 +0000
commitb08ca0d75a61e771952120e9975b8dd22ab3f1c2 (patch)
tree40fc3dfc39afcd7d1d43b93f1aafe3dbb49975a7 /audio/xmms-sapplug/Makefile
parent- fix clang regression with lua module (diff)
Use ${CC} instead of 'clang' to detect whether /usr/bin/cc is gcc or clang.
Diffstat (limited to 'audio/xmms-sapplug/Makefile')
-rw-r--r--audio/xmms-sapplug/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/xmms-sapplug/Makefile b/audio/xmms-sapplug/Makefile
index d160a24df4cc..ec9846a7ecd1 100644
--- a/audio/xmms-sapplug/Makefile
+++ b/audio/xmms-sapplug/Makefile
@@ -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