1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Find more instances of ":only" dependencies in MIX_REWRITE.

This commit is contained in:
Jimmy Olgeni 2015-07-15 14:09:26 +00:00
parent e6f6190e96
commit 08382140c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392142

View File

@ -72,7 +72,7 @@ RUN_DEPENDS+= ${depend:T}>=0:${PORTSDIR}/${depend}
.if !target(do-build)
do-build:
.if ${MIX_REWRITE} != ""
@${REINPLACE_CMD} -i '' -E -e "s@{.*only: :.*},?@@; s@{ *:([a-zA-Z0-9]+), *(github:|\"~).*}@{ :\1, path: \"${ELIXIR_LIB_ROOT}/\\1\", compile: false }@" ${WRKSRC}/mix.exs
@${REINPLACE_CMD} -i '' -E -e "s@{.*only: .*},?@@; s@{ *:([a-zA-Z0-9]+), *(github:|\"~).*}@{ :\1, path: \"${ELIXIR_LIB_ROOT}/\\1\", compile: false }@" ${WRKSRC}/mix.exs
.endif
@${RM} -f ${WRKSRC}/mix.lock
@cd ${WRKSRC} && ${MIX_COMPILE}