svn commit: r396442 - head/Mk/Uses

Jimmy Olgeni olgeni at FreeBSD.org
Tue Sep 8 22:12:23 UTC 2015


Author: olgeni
Date: Tue Sep  8 22:12:22 2015
New Revision: 396442
URL: https://svnweb.freebsd.org/changeset/ports/396442

Log:
  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.

Modified:
  head/Mk/Uses/erlang.mk

Modified: head/Mk/Uses/erlang.mk
==============================================================================
--- head/Mk/Uses/erlang.mk	Tue Sep  8 21:35:27 2015	(r396441)
+++ head/Mk/Uses/erlang.mk	Tue Sep  8 22:12:22 2015	(r396442)
@@ -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


More information about the svn-ports-all mailing list