aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-27 23:34:25 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-27 23:34:25 +0800
commit14b4108ffbc69d6aad3470d02eeee5dbcafcc473 (patch)
tree5c7a009c8246e288fdb738b37cefa717b86a6c45 /Mk
parent6a01115a0a61ff8777dfc03777eefbd019e7f9b9 (diff)
downloadfreebsd-ports-gnome-14b4108ffbc69d6aad3470d02eeee5dbcafcc473.tar.gz
freebsd-ports-gnome-14b4108ffbc69d6aad3470d02eeee5dbcafcc473.tar.zst
freebsd-ports-gnome-14b4108ffbc69d6aad3470d02eeee5dbcafcc473.zip
Not all Hex package specifications start with the '~' character,
so let's just look for '"'.
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 54741a6a8ace..b40b608d7b18 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}