aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-19 03:32:58 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-19 03:32:58 +0800
commit3972a51796afcece7512a4a14b0ce874cd87f2ea (patch)
tree25eb9f78c5bde3d765f75076c983f684a4c9631a /Mk
parentd92576af75db94a38d4267fc0296b85184e5a716 (diff)
downloadfreebsd-ports-gnome-3972a51796afcece7512a4a14b0ce874cd87f2ea.tar.gz
freebsd-ports-gnome-3972a51796afcece7512a4a14b0ce874cd87f2ea.tar.zst
freebsd-ports-gnome-3972a51796afcece7512a4a14b0ce874cd87f2ea.zip
Allow underscores in Elixir application names.
Diffstat (limited to 'Mk')
-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 f71ba67180a2..54741a6a8ace 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|optional): .*},?@@; 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}