Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 13:08:16 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320557 - head/audio/xmms-sapplug
Message-ID:  <201306111308.r5BD8G7W036834@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306111308.r5BD8G7W036834>