pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/erlang



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon Apr 25 12:51:11 UTC 2022

Modified Files:
        pkgsrc/lang/erlang: module.mk

Log Message:
erlang: fix rebar3 modules with an option to include rebar3 only.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/erlang/module.mk

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

Modified files:

Index: pkgsrc/lang/erlang/module.mk
diff -u pkgsrc/lang/erlang/module.mk:1.2 pkgsrc/lang/erlang/module.mk:1.3
--- pkgsrc/lang/erlang/module.mk:1.2    Thu Apr 13 18:24:45 2017
+++ pkgsrc/lang/erlang/module.mk        Mon Apr 25 12:51:11 2022
@@ -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