aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/erlang.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-10-15 07:36:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-10-15 07:36:38 +0000
commit8cea2b01475a78137a7b838fc6b36608f4b6ac7f (patch)
tree5d8c3107710b83c424eab2d353c0ea7b09e9816f /Mk/Uses/erlang.mk
parent99f2fb60355e72fbd45a7514736a4eda1a4ae7c2 (diff)
downloadports-8cea2b01475a78137a7b838fc6b36608f4b6ac7f.tar.gz
ports-8cea2b01475a78137a7b838fc6b36608f4b6ac7f.zip
Notes
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}