mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/erlang: fix build with autoconf 2.72
Use ERLANG_FIX_AUTOCONF_VERSION to fix the following build failure raised since bump of autoconf to version 2.72 in commit524f353602: ERROR: autoconf of version 2.72 found in path! You need to have autoconf of version 2.71 in path. Fixes:524f353602- http://autobuild.buildroot.org/results/c9e8df3427fca9e8e75488e32bca18e81009238c Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
433c4fd38b
commit
13083cf8c0
12
package/erlang/erlang.mk
vendored
12
package/erlang/erlang.mk
vendored
@@ -17,14 +17,22 @@ ERLANG_CPE_ID_VENDOR = erlang
|
|||||||
ERLANG_CPE_ID_PRODUCT = erlang\/otp
|
ERLANG_CPE_ID_PRODUCT = erlang\/otp
|
||||||
ERLANG_INSTALL_STAGING = YES
|
ERLANG_INSTALL_STAGING = YES
|
||||||
|
|
||||||
|
define ERLANG_FIX_AUTOCONF_VERSION
|
||||||
|
$(SED) "s/USE_AUTOCONF_VERSION=.*/USE_AUTOCONF_VERSION=$(AUTOCONF_VERSION)/" $(@D)/otp_build
|
||||||
|
endef
|
||||||
|
|
||||||
# Patched erts/aclocal.m4
|
# Patched erts/aclocal.m4
|
||||||
define ERLANG_RUN_AUTOCONF
|
define ERLANG_RUN_AUTOCONF
|
||||||
cd $(@D) && PATH=$(BR_PATH) ./otp_build update_configure --no-commit
|
cd $(@D) && PATH=$(BR_PATH) ./otp_build update_configure --no-commit
|
||||||
endef
|
endef
|
||||||
ERLANG_DEPENDENCIES += host-autoconf
|
ERLANG_DEPENDENCIES += host-autoconf
|
||||||
ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF
|
ERLANG_PRE_CONFIGURE_HOOKS += \
|
||||||
|
ERLANG_FIX_AUTOCONF_VERSION \
|
||||||
|
ERLANG_RUN_AUTOCONF
|
||||||
HOST_ERLANG_DEPENDENCIES += host-autoconf
|
HOST_ERLANG_DEPENDENCIES += host-autoconf
|
||||||
HOST_ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF
|
HOST_ERLANG_PRE_CONFIGURE_HOOKS += \
|
||||||
|
ERLANG_FIX_AUTOCONF_VERSION \
|
||||||
|
ERLANG_RUN_AUTOCONF
|
||||||
|
|
||||||
# Return the EIV (Erlang Interface Version, EI_VSN)
|
# Return the EIV (Erlang Interface Version, EI_VSN)
|
||||||
# $(1): base directory, i.e. either $(HOST_DIR) or $(STAGING_DIR)/usr
|
# $(1): base directory, i.e. either $(HOST_DIR) or $(STAGING_DIR)/usr
|
||||||
|
|||||||
Reference in New Issue
Block a user