aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-16 17:27:51 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-16 17:27:51 +0800
commit4ade70649e00aad022f80fcfdaba5aa8f257cb54 (patch)
tree032c25cf6836dd1bc6911d6bfdc2469dbf1ab3f2 /Mk/Uses
parent8aed9fd45d675ef4deb561b05e4aa5cb6c8a9072 (diff)
downloadfreebsd-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.mk2
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}
ass='insertions'>+0 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-1/+2 * -remove MD5ohauer2011-07-031-2/+0 * Bump PORTREVISION after open-mofit updatemakc2011-05-02