svn commit: r439368 - head/Mk/Uses
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Apr 25 08:34:27 UTC 2017
Author: olgeni
Date: Tue Apr 25 08:34:26 2017
New Revision: 439368
URL: https://svnweb.freebsd.org/changeset/ports/439368
Log:
Fix usage of left braces to be compatible with extended regular
expressions.
PR: 218600
Submitted by: Kyle Evans
Modified:
head/Mk/Uses/elixir.mk
Modified: head/Mk/Uses/elixir.mk
==============================================================================
--- head/Mk/Uses/elixir.mk Tue Apr 25 08:20:30 2017 (r439367)
+++ head/Mk/Uses/elixir.mk Tue Apr 25 08:34:26 2017 (r439368)
@@ -72,12 +72,12 @@ RUN_DEPENDS+= ${depend:T}>=0:${depend}
.if !target(do-build)
do-build:
.if ${MIX_REWRITE} != ""
- @${REINPLACE_CMD} -i '' -E -e "s@{.*(only|optional): .*},?@@" ${WRKSRC}/mix.exs
+ @${REINPLACE_CMD} -i '' -E -e "s@\{.*(only|optional): .*},?@@" ${WRKSRC}/mix.exs
.for depend in ${MIX_BUILD_DEPS}
@if [ $$(echo ${depend:T} | sed -e "s/erlang-//") != ${depend:T} ]; then \
- ${REINPLACE_CMD} -i '' -E -e "s@{ *:(${depend:T:S/erlang-//}), *(github:|\").*} *,?@@" ${WRKSRC}/mix.exs; \
+ ${REINPLACE_CMD} -i '' -E -e "s@\{ *:(${depend:T:S/erlang-//}), *(github:|\").*} *,?@@" ${WRKSRC}/mix.exs; \
else \
- ${REINPLACE_CMD} -i '' -E -e "s@{ *:(${depend:T:S/elixir-//}), *(github:|\").*}@{ :\1, path: \"${ELIXIR_LIB_ROOT}/\\1\", compile: false }@" ${WRKSRC}/mix.exs; \
+ ${REINPLACE_CMD} -i '' -E -e "s@\{ *:(${depend:T:S/elixir-//}), *(github:|\").*}@{ :\1, path: \"${ELIXIR_LIB_ROOT}/\\1\", compile: false }@" ${WRKSRC}/mix.exs; \
fi
.endfor
.endif
More information about the svn-ports-all
mailing list