diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-06-11 21:08:16 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-06-11 21:08:16 +0800 |
commit | 4862bbeb149031adc9e40b104b11f409cf913d43 (patch) | |
tree | 9566934874f59af5c73c1dc2ef09eae78c9bc0fa /audio/xmms-sapplug | |
parent | e51a5eb57d6454383587f2a3d2b420836673bdc9 (diff) | |
download | freebsd-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/Makefile | 4 |
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 |