Re: git: 5de84cc476a0 - main - devel/spirv-llvm-translator: properly check for multiple patch-*
- Reply: Mathieu Arnold : "Re: git: 5de84cc476a0 - main - devel/spirv-llvm-translator: properly check for multiple patch-*"
- In reply to: Jan Beich : "git: 5de84cc476a0 - main - devel/spirv-llvm-translator: properly check for multiple patch-*"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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?