Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 2015 22:12:22 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396442 - head/Mk/Uses
Message-ID:  <201509082212.t88MCMGp023723@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509082212.t88MCMGp023723>