aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-06-11 13:08:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-06-11 13:08:16 +0000
commit6670844ef79cf7fad1ddcf8c5742e7cb2c5b4df7 (patch)
tree9566934874f59af5c73c1dc2ef09eae78c9bc0fa /audio
parent3ac42a22f2b1e73dfc95e863227a7d4ae5c12761 (diff)
downloadports-6670844ef79cf7fad1ddcf8c5742e7cb2c5b4df7.tar.gz
ports-6670844ef79cf7fad1ddcf8c5742e7cb2c5b4df7.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-sapplug/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/xmms-sapplug/Makefile b/audio/xmms-sapplug/Makefile
index b3768e18d686..d160a24df4cc 100644
--- a/audio/xmms-sapplug/Makefile
+++ b/audio/xmms-sapplug/Makefile
@@ -29,7 +29,9 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS
.include <bsd.port.options.mk>
-.if ${CXX:T} != "clang++"
+_CLANG!= clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/'
+
+.if ${CXX:T} != "clang++" && !defined(_CLANG)
CXXFLAGS+= --no-exceptions
.endif