svn commit: r380202 - head/net/appkonference
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Mar 1 15:07:03 UTC 2015
Author: amdmi3
Date: Sun Mar 1 15:07:02 2015
New Revision: 380202
URL: https://svnweb.freebsd.org/changeset/ports/380202
QAT: https://qat.redports.org/buildarchive/r380202/
Log:
- Fix build with clang
Modified:
head/net/appkonference/Makefile
Modified: head/net/appkonference/Makefile
==============================================================================
--- head/net/appkonference/Makefile Sun Mar 1 15:06:56 2015 (r380201)
+++ head/net/appkonference/Makefile Sun Mar 1 15:07:02 2015 (r380202)
@@ -14,7 +14,7 @@ BUILD_DEPENDS= asterisk:${PORTSDIR}/net/
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
USE_CSTD= gnu89
-USES= gmake
+USES= compiler:features gmake
WRKSRC= ${WRKDIR}/${PORTNAME}/konference
PLIST_FILES= lib/asterisk/modules/app_konference.so
@@ -22,4 +22,11 @@ PLIST_FILES= lib/asterisk/modules/app_ko
ONLY_FOR_ARCHS= amd64 arm i386 ia64
ONLY_FOR_ARCHS_REASON= not yet ported to this architecture
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 36
+post-patch:
+ @${REINPLACE_CMD} -e 's|-fsingle-precision-constant||' ${WRKSRC}/Makefile
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list