Re: git: 5de84cc476a0 - main - devel/spirv-llvm-translator: properly check for multiple patch-*

From: Gleb Popov <arrowd_at_freebsd.org>
Date: Fri, 20 Feb 2026 16:43:27 UTC
On Fri, Feb 20, 2026 at 6:29 PM Jan Beich <jbeich@freebsd.org> wrote:
>
>  pre-everything::
> -       @if [ -e ${.CURDIR}/files/patch-* ]; then \
> +       @for f in ${.CURDIR}/files/patch-*; do if [ -e $$f ]; then \
>                 ${ECHO_MSG} "Error: patch-* under \"files\" aren't supported. Move under \"files.<flavor>\" instead."; \
>                 exit 1; \
> -       fi
> +       fi; done

Would setting PATCHDIR based on FLAVOR be simpler than this?