summaryrefslogtreecommitdiff
path: root/Mk/Uses/erlang.mk
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-09-08 22:12:22 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-09-08 22:12:22 +0000
commit173d8150db9f0cb8050dce79ff2f2d0c1ca1e3aa (patch)
treecd4df4a811d8c711d0018eb5da6955847becc346 /Mk/Uses/erlang.mk
parentRemove duplicate PDFTeX from the comment. (diff)
Fix build_fs_violation for rebar3 builds.
rebar3 has the uncontrollable urge to write some stuff into the user's HOME, even if just an empty directory. Redirect HOME to WRKDIR so that it at least shoots a blank and does not bump into build_fs_violation checks. This fixes devel/erlang-bbmustache and www/erlang-hackney.
Notes
Notes: svn path=/head/; revision=396442
Diffstat (limited to 'Mk/Uses/erlang.mk')
-rw-r--r--Mk/Uses/erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/erlang.mk b/Mk/Uses/erlang.mk
index c81499e4edfd..7e83329bcf61 100644
--- a/Mk/Uses/erlang.mk
+++ b/Mk/Uses/erlang.mk
@@ -62,7 +62,7 @@ ERLANG_COMPILE= ${REBAR_CMD}
.endif
.if ${erlang_ARGS:Mrebar3}
-ERLANG_COMPILE= ${REBAR3_CMD}
+ERLANG_COMPILE= HOME=${WRKDIR} ${REBAR3_CMD}
.endif
_USES_patch+= 650:post-patch-erlang