pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/erlang-idna



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Wed Apr  7 13:34:42 UTC 2021

Modified Files:
        pkgsrc/net/erlang-idna: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/erlang-idna/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/erlang-idna/Makefile
diff -u pkgsrc/net/erlang-idna/Makefile:1.2 pkgsrc/net/erlang-idna/Makefile:1.3
--- pkgsrc/net/erlang-idna/Makefile:1.2 Sat Jan 16 00:02:07 2021
+++ pkgsrc/net/erlang-idna/Makefile     Wed Apr  7 13:34:41 2021
@@ -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 @@ WRKSRC=               ${WRKDIR}/${PKGNAME_NOREV}
 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