Date: Mon, 11 May 2015 20:31:16 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386100 - head/net/crtmpserver Message-ID: <201505112031.t4BKVGCM066481@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Mon May 11 20:31:15 2015 New Revision: 386100 URL: https://svnweb.freebsd.org/changeset/ports/386100 Log: Fix build on head and stable/10 Reported by: pkg-fallout Modified: head/net/crtmpserver/Makefile Modified: head/net/crtmpserver/Makefile ============================================================================== --- head/net/crtmpserver/Makefile Mon May 11 19:55:24 2015 (r386099) +++ head/net/crtmpserver/Makefile Mon May 11 20:31:15 2015 (r386100) @@ -26,10 +26,16 @@ GROUPS= crtmpserver USE_RC_SUBR= crtmpserver +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e "s,/usr/local/include/lua51,${LUA_INCDIR},g" \ -e "s,lua$$,lua-${LUA_VER},g" \ ${WRKSRC}/builders/cmake/cmake_find_modules/Find_lua.cmake +.if (${OSVERSION} >= 1100028) || (${OSVERSION} >= 1001505 && ${OSVERSION} < 1100000) + @${REINPLACE_CMD} '/NOTE_USECONDS/d' ${WRKSRC}/sources/common/include/platform/freebsd/freebsdplatform.h + @${REINPLACE_CMD} 's, -Werror,,' ${WRKSRC}/builders/cmake/CMakeLists.txt +.endif pre-install: @${SH} $(WRKSRC)/fixConfFile.sh "${WRKSRC}/builders/cmake/crtmpserver/crtmpserver.lua" "${PREFIX}" "${WRKSRC}" @@ -39,4 +45,4 @@ post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/var/log/crtmpserver @${MKDIR} ${STAGEDIR}${PREFIX}/var/crtmpserver/media -.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?201505112031.t4BKVGCM066481>