[Buildroot] [PATCH v2] ejabberd: Bump to version 17.11

Johan Oudinet johan.oudinet at gmail.com
Thu Feb 8 16:30:26 UTC 2018


Hi Thomas,

On Mon, Jan 29, 2018 at 10:29 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> On Fri, 19 Jan 2018 17:29:31 +0100, Johan Oudinet wrote:
>> -EJABBERD_ERLANG_LIBS = sasl crypto public_key ssl mnesia inets compiler
>> +# Install check-erlang-lib script to the directory in which the
>> +# package has been uncompressed, so it is available during the
>> +# configure step.
>> +define EJABBERD_INSTALL_CHECK_ERLANG_LIB
>> +     $(INSTALL) -m 0755 $(EJABBERD_PKGDIR)/check-erlang-lib \
>> +             $(@D)/check-erlang-lib
>> +endef
>> +
>> +EJABBERD_POST_EXTRACT_HOOKS += EJABBERD_INSTALL_CHECK_ERLANG_LIB
>> +
>> +EJABBERD_ERLANG_LIBS = sasl public_key mnesia inets compiler
>>
>>  # Guess answers for these tests, configure will bail out otherwise
>>  # saying error: cannot run test program while cross compiling.
>>  EJABBERD_CONF_ENV = \
>>       ac_cv_erlang_root_dir="$(HOST_DIR)/lib/erlang" \
>>       $(foreach lib,$(EJABBERD_ERLANG_LIBS), \
>> -             ac_cv_erlang_lib_dir_$(lib)="`package/ejabberd/check-erlang-lib $(lib)`")
>> +             ac_cv_erlang_lib_dir_$(lib)="`./check-erlang-lib $(lib)`")
>
> Why did you change the location of check-erlang-lib ? What was the
> problem ? It looked like a good idea to directly used it from
> package/ejabberd/ instead of copying it.
>
> Could you explain this ?

I changed it because I got "package/ejabberd/check-erlang-lib: command
not found" during the configure step.
I guess it is not necessarily in the PATH and the configure is done
inside $(@D).
TBH, I don't understand why this was working before.

Best,
-- 
Johan


More information about the buildroot mailing list