pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/erlang-lager erlang-lager: Go back on rebar
details: https://anonhg.NetBSD.org/pkgsrc/rev/9a9cb9277368
branches: trunk
changeset: 453011:9a9cb9277368
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Fri May 21 11:24:16 2021 +0000
description:
erlang-lager: Go back on rebar
pkgsrc changes:
---------------
* Go back on devel/rebar instead of devel/rebar3.
* Bump revision.
diffstat:
sysutils/erlang-lager/Makefile | 17 ++---------------
sysutils/erlang-lager/distinfo | 4 ++--
sysutils/erlang-lager/patches/patch-Makefile | 21 +++++++++++++--------
3 files changed, 17 insertions(+), 25 deletions(-)
diffs (99 lines):
diff -r 6273230b066a -r 9a9cb9277368 sysutils/erlang-lager/Makefile
--- a/sysutils/erlang-lager/Makefile Fri May 21 11:19:22 2021 +0000
+++ b/sysutils/erlang-lager/Makefile Fri May 21 11:24:16 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2021/05/20 21:02:16 triaxx Exp $
+# $NetBSD: Makefile,v 1.9 2021/05/21 11:24:16 triaxx Exp $
DISTNAME= lager-3.9.2
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=erlang-lager/}
@@ -9,28 +10,14 @@
COMMENT= Logging framework for Erlang/OTP
LICENSE= apache-2.0
-BUILD_DEPENDS+= rebar3-[0-9]*:../../devel/rebar3
DEPENDS+= erlang-goldrush>=0.1.9:../../sysutils/erlang-goldrush
GITHUB_PROJECT= lager
GITHUB_TAG= ${PKGVERSION_NOREV}
-REBAR= ${PREFIX}/bin/rebar3
-
-SUBST_CLASSES+= rebar
-SUBST_STAGE.rebar= pre-configure
-SUBST_MESSAGE.rebar= Using rebar3 to compile.
-SUBST_FILES.rebar= Makefile
-SUBST_VARS.rebar= REBAR
-
post-extract:
# Remove dependency handling
${RM} -f ${WRKSRC}/rebar.config.script
-pre-install:
- # Move rebar3 build tree to make working the do-install rule of module.mk
- ${MV} ${WRKSRC}/_build/default/lib/lager/ebin ${WRKSRC}
- ${RM} -rf ${WRKSRC}/_build
-
.include "../../lang/erlang/module.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6273230b066a -r 9a9cb9277368 sysutils/erlang-lager/distinfo
--- a/sysutils/erlang-lager/distinfo Fri May 21 11:19:22 2021 +0000
+++ b/sysutils/erlang-lager/distinfo Fri May 21 11:24:16 2021 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2021/05/20 21:02:16 triaxx Exp $
+$NetBSD: distinfo,v 1.8 2021/05/21 11:24:16 triaxx Exp $
SHA1 (lager-3.9.2.tar.gz) = 30a93b3a004285fab7036ca1fc84cc581606d6e0
RMD160 (lager-3.9.2.tar.gz) = 439094a15c676ae7eddb2d5152cc24bef658cfa4
SHA512 (lager-3.9.2.tar.gz) = 13b08145ab2316215f95de34838445f2922513e44f6800f338cd6941e6854653a9f8657447b439d5d508cb4569fbf4a0e03dc508d7c5d2ad48c9d4d14e17ca50
Size (lager-3.9.2.tar.gz) = 273894 bytes
-SHA1 (patch-Makefile) = 8c71466df8a7ea55e4eef9f99ab6de05d32b428f
+SHA1 (patch-Makefile) = 179393d96e6bdee4b2e18f2d9f0f2f1ba9271ac2
SHA1 (patch-rebar.config) = cc8c5503c026a5610b982773f52a38ee26385a27
diff -r 6273230b066a -r 9a9cb9277368 sysutils/erlang-lager/patches/patch-Makefile
--- a/sysutils/erlang-lager/patches/patch-Makefile Fri May 21 11:19:22 2021 +0000
+++ b/sysutils/erlang-lager/patches/patch-Makefile Fri May 21 11:24:16 2021 +0000
@@ -1,27 +1,32 @@
-$NetBSD: patch-Makefile,v 1.1 2021/01/16 00:10:51 triaxx Exp $
+$NetBSD: patch-Makefile,v 1.2 2021/05/21 11:24:16 triaxx Exp $
-Use pkgsrc rebar.
+Localize rebar path.
---- Makefile.orig 2020-08-28 17:41:26.000000000 +0000
+--- Makefile.orig 2021-05-14 15:02:36.000000000 +0000
+++ Makefile
-@@ -4,16 +4,16 @@
+@@ -1,19 +1,21 @@
++REBAR ?= ./rebar
++
+ .PHONY: all compile deps clean distclean test check_plt build_plt dialyzer \
+ cleanplt
+
all: deps compile
compile: deps
- ./rebar compile
-+ @REBAR@ compile
++ $(REBAR) compile
deps:
- test -d deps || ./rebar get-deps
-+ test -d deps || @REBAR@ get-deps
++ test -d deps || $(REBAR) get-deps
clean:
- ./rebar clean
-+ @REBAR@ clean
++ $(REBAR) clean
distclean: clean
- ./rebar delete-deps
-+ @REBAR@ delete-deps
++ $(REBAR) delete-deps
DIALYZER_APPS = kernel stdlib erts sasl eunit syntax_tools compiler crypto \
common_test
Home |
Main Index |
Thread Index |
Old Index