apply MAKE_ENV to avoid trying to reach into root's homedir when building
inside dpb
This commit is contained in:
parent
645d647382
commit
7eec2be580
@ -1,6 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2020/12/09 10:00:44 sthen Exp $
|
||||
|
||||
BROKEN = tries to access /root/.config/rebar3/rebar.config
|
||||
# $OpenBSD: Makefile,v 1.3 2020/12/09 22:50:45 jmatthew Exp $
|
||||
|
||||
COMMENT = Erlang build tool
|
||||
|
||||
@ -73,7 +71,7 @@ pre-configure:
|
||||
${WRKSRC}/_build/default/lib/relx/priv/templates/extended_bin
|
||||
|
||||
do-build:
|
||||
cd ${WRKBUILD} && ${WRKSRC}/bootstrap
|
||||
cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${WRKSRC}/bootstrap
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/rebar3 ${PREFIX}/bin/rebar3-${ERL_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user