Date: Sun, 1 Mar 2015 15:07:02 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380202 - head/net/appkonference Message-ID: <201503011507.t21F72NQ004813@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503011507.t21F72NQ004813>