pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/erlang-idna erlang-idna: Fix cache directory of re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37dbef66a9fe
branches:  trunk
changeset: 449904:37dbef66a9fe
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Wed Apr 07 13:34:41 2021 +0000

description:
erlang-idna: Fix cache directory of rebar3

pkgsrc changes:
---------------
  * The default cache directory of rebar3 is ~/.cache/rebar3 which can be
    not writable. Now set it to ${WRKDIR}/rebar
  * Bump revision

diffstat:

 net/erlang-idna/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 46caacc9a787 -r 37dbef66a9fe net/erlang-idna/Makefile
--- a/net/erlang-idna/Makefile  Wed Apr 07 13:21:28 2021 +0000
+++ b/net/erlang-idna/Makefile  Wed Apr 07 13:34:41 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2021/01/16 00:02:07 triaxx Exp $
+# $NetBSD: Makefile,v 1.3 2021/04/07 13:34:41 triaxx Exp $
 
 DISTNAME=      idna-6.1.1
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=benoitc/}
 
@@ -16,7 +17,7 @@
 REBAR=         ${PREFIX}/bin/rebar3
 
 do-build:
-       cd ${WRKSRC} && ${REBAR} compile
+       cd ${WRKSRC} && REBAR_CACHE_DIR=${WRKDIR}/rebar ${REBAR} compile
 
 pre-install:
        ${MV} ${WRKSRC}/_build/default/lib/idna/ebin ${WRKSRC}



Home | Main Index | Thread Index | Old Index