svn commit: r318788 - head/audio/penguinsap
Emanuel Haupt
ehaupt at FreeBSD.org
Wed May 22 18:39:38 UTC 2013
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|' \
More information about the svn-ports-all
mailing list