From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Oudinet Date: Tue, 9 Dec 2014 15:34:06 +0100 Subject: [Buildroot] [PATCH v4 01/17] package/erlang: export EI_VSN so other packages can use it In-Reply-To: <1418135662-773-1-git-send-email-johan.oudinet@gmail.com> References: <1418135662-773-1-git-send-email-johan.oudinet@gmail.com> Message-ID: <1418135662-773-2-git-send-email-johan.oudinet@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: "Yann E. MORIN" Packages that depend on Erlang may need the Erlang Interface Version (aka EI_VSN), so just export it. We do export a static value instead of looking in the file, to avoid spawning a shell every time the variable is dereferenced. Signed-off-by: "Yann E. MORIN" Cc: Johan Oudinet Signed-off-by: Johan Oudinet --- package/erlang/erlang.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk index ef0e0a2..54e5a56 100644 --- a/package/erlang/erlang.mk +++ b/package/erlang/erlang.mk @@ -4,6 +4,7 @@ # ################################################################################ +# See note below when updating Erlang ERLANG_VERSION = 17.3 ERLANG_SITE = http://www.erlang.org/download ERLANG_SOURCE = otp_src_$(ERLANG_VERSION).tar.gz @@ -13,6 +14,10 @@ ERLANG_LICENSE = EPL ERLANG_LICENSE_FILES = EPLICENCE ERLANG_INSTALL_STAGING = YES +# Whenever updating Erlang, this value should be updated as well, to the +# value of EI_VSN in the file lib/erl_interface/vsn.mk +ERLANG_EI_VSN = 3.7.18 + # The configure checks for these functions fail incorrectly ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes -- 2.1.0