diff options
author | olgeni <olgeni@FreeBSD.org> | 2015-07-16 17:27:51 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2015-07-16 17:27:51 +0800 |
commit | 4ade70649e00aad022f80fcfdaba5aa8f257cb54 (patch) | |
tree | 032c25cf6836dd1bc6911d6bfdc2469dbf1ab3f2 /Mk/Uses | |
parent | 8aed9fd45d675ef4deb561b05e4aa5cb6c8a9072 (diff) | |
download | freebsd-ports-gnome-4ade70649e00aad022f80fcfdaba5aa8f257cb54.tar.gz freebsd-ports-gnome-4ade70649e00aad022f80fcfdaba5aa8f257cb54.tar.zst freebsd-ports-gnome-4ade70649e00aad022f80fcfdaba5aa8f257cb54.zip |
In MIX_REWRITE, suppress optional dependencies too.
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/elixir.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/elixir.mk b/Mk/Uses/elixir.mk index bad31179c1c4..f71ba67180a2 100644 --- a/Mk/Uses/elixir.mk +++ b/Mk/Uses/elixir.mk @@ -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|optional): .*},?@@; 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} |