From deba8115d2c2af26df42966b91ef04ff4dd79cde Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 May 2020 11:09:11 +0100 Subject: gentoo resync : 14.05.2020 --- eclass/rebar.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'eclass/rebar.eclass') diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass index f2a620fd8979..7f712905c407 100644 --- a/eclass/rebar.eclass +++ b/eclass/rebar.eclass @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: rebar.eclass # @MAINTAINER: -# Amadeusz Żołnowski +# maintainer-needed@gentoo.org # @AUTHOR: # Amadeusz Żołnowski # @SUPPORTED_EAPIS: 6 @@ -32,7 +32,7 @@ esac EXPORT_FUNCTIONS src_prepare src_compile src_test src_install -RDEPEND="dev-lang/erlang" +RDEPEND="dev-lang/erlang:=" DEPEND="${RDEPEND} dev-util/rebar >=sys-apps/gawk-4.1" @@ -105,6 +105,8 @@ erebar() { (( $# > 0 )) || die "erebar: at least one target is required" local -x ERL_LIBS="${EPREFIX}$(get_erl_libs)" + [[ ${1} == eunit ]] && local -x ERL_LIBS="." + rebar -v skip_deps=true "$@" || die -n "rebar $@ failed" } -- cgit v1.2.3