10.11.2026 23:12, Bjorn Ketelaars пишет:
> On Tue 10/11/2026 21:08, Bjorn Ketelaars wrote:
>> On Wed 04/11/2026 19:46, Bjorn Ketelaars wrote:
>>> The diff below updates lz4 to 1.11.0, which integrates multithreaded
>>> compression directly into liblz4 while retaining binary compatibility
>>> with previous versions. Release notes:
>>> https://github.com/lz4/lz4/releases/tag/v1.11.0
>>>
>>> All tests pass with `make test`, and I've done some light runtime
>>> testing on amd64.
>>>
>>> As far as I can tell, the port has 38 consumers. Would this warrant a
>>> bulk build? If so, could someone help with that? I don't have a suitable
>>> setup. Testing on other architectures would also be appreciated.
>>>
>>> Tests, comments, and OKs are welcome.
>>
>> In the meantime lz4-1.11.1 had been released. Changes:
>> https://github.com/lz4/lz4/releases/tag/v1.11.1
>>
>> Passes all tests, and works for me on amd64.
>>
>> OK?
>
> Oops, forgot diff:
OK kn
> +pre-test:
> + ln -fs ${LOCALBASE}/bin/ghead ${WRKDIR}/bin/head
You can handle gmake the same way, no need for a patch here.
> +++ patches/patch-tests_Makefile
> @@ -0,0 +1,14 @@
> +Use $(MAKE) to avoid invoking BSD make with GNU make flags.
> +
> +Index: tests/Makefile
> +--- tests/Makefile.orig
> ++++ tests/Makefile
> +@@ -204,7 +204,7 @@ list:
> + $(GREP) '^[^#[:space:]].*:' Makefile | sed 's/:.*//' | sort | uniq
> +
> + ifneq ($(TARGETSEARCH),NO)
> +-ALL_TARGETS := $(shell make list TARGETSEARCH=NO)
> ++ALL_TARGETS := $(shell $(MAKE) list TARGETSEARCH=NO)
> + endif
> + TEST_TARGETS := $(filter test%,$(ALL_TARGETS))
> + .PHONY: $(TEST_TARGETS) # all targets starting by `test` are now .PHONY