Date: Tue, 22 Apr 2014 00:37:31 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r351736 - branches/2014Q2/audio/calf Message-ID: <201404220037.s3M0bVUv019691@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Apr 22 00:37:31 2014 New Revision: 351736 URL: http://svnweb.freebsd.org/changeset/ports/351736 QAT: https://qat.redports.org/buildarchive/r351736/ Log: MFH: r349995 - Fix build on HEAD (unknown clang options -finline-*) Approved by: portmgr Modified: branches/2014Q2/audio/calf/Makefile Directory Properties: branches/2014Q2/ (props changed) Modified: branches/2014Q2/audio/calf/Makefile ============================================================================== --- branches/2014Q2/audio/calf/Makefile Mon Apr 21 23:49:17 2014 (r351735) +++ branches/2014Q2/audio/calf/Makefile Tue Apr 22 00:37:31 2014 (r351736) @@ -23,7 +23,7 @@ OPTIONS_DEFAULT=LASH LV2 OPTIONS_SUB= yes LV2_DESC= LV2 audio plugin -USES= gmake pkgconfig +USES= gmake pkgconfig compiler:env USE_GNOME= gtk20 GNU_CONFIGURE= yes INSTALLS_ICONS= yes @@ -37,7 +37,7 @@ LV2_BUILD_DEPENDS= lv2core>0:${PORTSDIR} LV2_RUN_DEPENDS= lv2core>0:${PORTSDIR}/audio/lv2core LV2_CONFIGURE_WITH= lv2 -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> post-patch: @${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e \ @@ -49,6 +49,11 @@ post-patch: ${WRKSRC}/src/calf/buffer.h @${REINPLACE_CMD} -e 's|data\[(1<<IntBits)+1\]|data[]|' \ ${WRKSRC}/src/calf/fixed_point.h +.if ${COMPILER_TYPE} == "clang" + @${REINPLACE_CMD} -e 's|-finline-functions -finline-functions-called-once||' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-finline-limit=80||' ${WRKSRC}/src/Makefile.in +.endif pre-build: .if ${PORT_OPTIONS:MLV2} @@ -67,4 +72,4 @@ post-install: -p ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2) .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404220037.s3M0bVUv019691>