Date: Wed, 22 May 2013 18:39:38 +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: r318788 - head/audio/penguinsap Message-ID: <201305221839.r4MIdcMS013025@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Wed May 22 18:39:37 2013 New Revision: 318788 URL: http://svnweb.freebsd.org/changeset/ports/318788 Log: Fix build with clang 3.3 Modified: head/audio/penguinsap/Makefile Modified: head/audio/penguinsap/Makefile ============================================================================== --- head/audio/penguinsap/Makefile Wed May 22 18:32:31 2013 (r318787) +++ head/audio/penguinsap/Makefile Wed May 22 18:39:37 2013 (r318788) @@ -24,9 +24,13 @@ PLIST_FILES= bin/sap .include <bsd.port.pre.mk> +_CLANG!= clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' + .if ${CXX:T} != "clang++" +.if ${_CLANG} < 33 CXXFLAGS+= --no-exceptions .endif +.endif post-patch: @${REINPLACE_CMD} -e 's|linux/soundcard\.h|sys/soundcard\.h|' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305221839.r4MIdcMS013025>