svn commit: r320557 - head/audio/xmms-sapplug
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Jun 11 13:08:16 UTC 2013
Author: ehaupt
Date: Tue Jun 11 13:08:16 2013
New Revision: 320557
URL: http://svnweb.freebsd.org/changeset/ports/320557
Log:
Fix build on -CURRENT
Modified:
head/audio/xmms-sapplug/Makefile
Modified: head/audio/xmms-sapplug/Makefile
==============================================================================
--- head/audio/xmms-sapplug/Makefile Tue Jun 11 13:01:56 2013 (r320556)
+++ head/audio/xmms-sapplug/Makefile Tue Jun 11 13:08:16 2013 (r320557)
@@ -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
More information about the svn-ports-head
mailing list