mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Fix build with clang 3.3
This commit is contained in:
parent
4d0e7ff8b3
commit
87e60f9c74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318788
@ -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|' \
|
||||
|
Loading…
Reference in New Issue
Block a user