aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-sapplug
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-06-11 21:08:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-06-11 21:08:16 +0800
commit4862bbeb149031adc9e40b104b11f409cf913d43 (patch)
tree9566934874f59af5c73c1dc2ef09eae78c9bc0fa /audio/xmms-sapplug
parente51a5eb57d6454383587f2a3d2b420836673bdc9 (diff)
downloadfreebsd-ports-gnome-4862bbeb149031adc9e40b104b11f409cf913d43.tar.gz
freebsd-ports-gnome-4862bbeb149031adc9e40b104b11f409cf913d43.tar.zst
freebsd-ports-gnome-4862bbeb149031adc9e40b104b11f409cf913d43.zip
Fix build on -CURRENT
Diffstat (limited to 'audio/xmms-sapplug')
-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