Date: Fri, 20 Feb 2026 19:43:27 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Jan Beich <jbeich@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 5de84cc476a0 - main - devel/spirv-llvm-translator: properly check for multiple patch-* Message-ID: <CALH631kxQ-hL5svx38d3TQcm_eGmU0thEKnS8-m-u3%2BDCRo5jw@mail.gmail.com> In-Reply-To: <69987dd5.25705.7be2c81b@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
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?
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kxQ-hL5svx38d3TQcm_eGmU0thEKnS8-m-u3%2BDCRo5jw>
