pkgsrc-Users archive

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

Re: TOOL_DEPENDS or DEPENDS for configure requiring bash



> On Mon, Jul 11, 2022 at 07:00:46PM +0530, Mayuresh wrote:
>> Cited line:
>>
>>   acx_cv_cc_export_dynamic="$((./libtool --config; echo eval echo
>> \\$export_dynamic_flag_spec) | sh)"
>
> There is a ) missing at the end to match the (( at the start. It should
> read:
>
> acx_cv_cc_export_dynamic="$((./libtool --config; echo eval echo
> \\$export_dynamic_flag_spec) | sh))"
>
> Is this the original configure script, or is it patched already by pkgsrc?
>
>> There are 14 lines with pattern $(( - in case that's the culprit.
>
> No.
>
> Martin
>

   Actually, it looks like the original was not expecting "$((" to start
an arithmetic expression, but rather expected "$(" to start a shell
command which happened to have "(" as the first character. Adding a
space, i.e. "$( (", may be closer to what was intended.

                                  Gary Duzan




Home | Main Index | Thread Index | Old Index