Re: git: 482cadcb0741 - main - shells/bash-completion: Fix 'make extract' on riscv64
- In reply to: Vanilla Hsu : "Re: git: 482cadcb0741 - main - shells/bash-completion: Fix 'make extract' on riscv64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Oct 2025 17:50:50 UTC
On Sun, Oct 19, 2025 at 11:10 AM Vanilla Hsu <vanilla@fatpipi.com> wrote:
> it builded failure on my box,
>
> ---
> root@nat:/usr/ports/shells/bash-completion # make
> make: /usr/ports/shells/bash-completion/Makefile:19: Variable "ARCH" is
> undefined
> make: Fatal errors encountered -- cannot continue
> make: stopped making "all" in /usr/ports/shells/bash-completion
> --
>
Fixed in 01ef1f06e90f2adddad647020408b4af1dc721bb.
Thanks.
> Po-Chuan Hsieh <sunpoet@freebsd.org> 於 2025年10月19日 週日 上午8:07寫道:
>
>> The branch main has been updated by sunpoet:
>>
>> URL:
>> https://cgit.FreeBSD.org/ports/commit/?id=482cadcb07419678f225eb4e1a941e0dfb43a4ea
>>
>> commit 482cadcb07419678f225eb4e1a941e0dfb43a4ea
>> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
>> AuthorDate: 2025-10-19 00:00:49 +0000
>> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
>> CommitDate: 2025-10-19 00:00:49 +0000
>>
>> shells/bash-completion: Fix 'make extract' on riscv64
>>
>> PR: 289914
>> Reported by: Meng Zhuo <mengzhuo@iscas.ac.cn>
>> ---
>> shells/bash-completion/Makefile | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/shells/bash-completion/Makefile
>> b/shells/bash-completion/Makefile
>> index 04f82d2f03a5..756ddedf803e 100644
>> --- a/shells/bash-completion/Makefile
>> +++ b/shells/bash-completion/Makefile
>> @@ -16,6 +16,9 @@ TEST_DEPENDS= runtest:misc/dejagnu \
>>
>> USES= autoreconf gmake pathfix tar:xz
>>
>> +.if ${ARCH} == riscv64
>> +EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
>> +.endif
>> GNU_CONFIGURE= yes
>> NO_ARCH= yes
>>
>>