pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: fix rebar3 modules with an option ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/979ee63c43f9
branches: trunk
changeset: 377927:979ee63c43f9
user: nikita <nikita%pkgsrc.org@localhost>
date: Mon Apr 25 12:51:11 2022 +0000
description:
erlang: fix rebar3 modules with an option to include rebar3 only.
diffstat:
lang/erlang/module.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 0fa42dc93d87 -r 979ee63c43f9 lang/erlang/module.mk
--- a/lang/erlang/module.mk Mon Apr 25 12:37:25 2022 +0000
+++ b/lang/erlang/module.mk Mon Apr 25 12:51:11 2022 +0000
@@ -1,11 +1,15 @@
-# $NetBSD: module.mk,v 1.2 2017/04/13 18:24:45 fhajny Exp $
+# $NetBSD: module.mk,v 1.3 2022/04/25 12:51:11 nikita Exp $
#
# Simple Erlang module package framework
#
PKGNAME?= erlang-${DISTNAME}
+.if defined(REBAR3_BUILD)
+BUILD_DEPENDS+= rebar3-[0-9]*:../../devel/rebar3
+.else
BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
+.endif
USE_TOOLS+= gmake pax
Home |
Main Index |
Thread Index |
Old Index