aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/erlang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/erlang.mk')
-rw-r--r--Mk/Uses/erlang.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mk/Uses/erlang.mk b/Mk/Uses/erlang.mk
index 8703d8e8678d..7e83329bcf61 100644
--- a/Mk/Uses/erlang.mk
+++ b/Mk/Uses/erlang.mk
@@ -38,23 +38,23 @@ ERL_DOCS?= README*
# VERSION is used in every Erlang pkg-plist
PLIST_SUB+= VERSION="${PORTVERSION}"
-BUILD_DEPENDS+= erl:lang/erlang
-RUN_DEPENDS+= erl:lang/erlang
+BUILD_DEPENDS+= erl:${PORTSDIR}/lang/erlang
+RUN_DEPENDS+= erl:${PORTSDIR}/lang/erlang
.if ${erlang_ARGS:Mrebar}
-BUILD_DEPENDS+= rebar>=0:devel/rebar
+BUILD_DEPENDS+= rebar>=0:${PORTSDIR}/devel/rebar
.endif
.if ${erlang_ARGS:Mrebar3}
-BUILD_DEPENDS+= rebar3>=0:devel/rebar3
+BUILD_DEPENDS+= rebar3>=0:${PORTSDIR}/devel/rebar3
.endif
.for depend in ${ERL_BUILD_DEPS}
-BUILD_DEPENDS+= ${depend:T}>=0:${depend}
+BUILD_DEPENDS+= ${depend:T}>=0:${PORTSDIR}/${depend}
.endfor
.for depend in ${ERL_RUN_DEPS}
-RUN_DEPENDS+= ${depend:T}>=0:${depend}
+RUN_DEPENDS+= ${depend:T}>=0:${PORTSDIR}/${depend}
.endfor
.if ${erlang_ARGS:Mrebar}