[Midnightbsd-cvs] [MidnightBSD/mports] eac401: archivers/py-lz4: fix build when pkgconfig cannot ...
Lucas Holt
noreply at github.com
Fri May 8 10:57:53 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: eac4010317a4a48f7816123396ada58ea2f77f03
https://github.com/MidnightBSD/mports/commit/eac4010317a4a48f7816123396ada58ea2f77f03
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-08 (Fri, 08 May 2026)
Changed paths:
A archivers/py-lz4/files/patch-setup.py
Log Message:
-----------
archivers/py-lz4: fix build when pkgconfig cannot detect liblz4
setup.py requires both liblz4_found (via pkgconfig) and
PYLZ4_USE_SYSTEM_LZ4 to select the system library. When pkgconfig
fails to detect liblz4, the build falls back to the bundled lz4libs/
which is removed in post-patch, causing a build failure on i386.
Patch setup.py to use PYLZ4_USE_SYSTEM_LZ4 alone as sufficient to
select system liblz4, with pkgconfig flags used when available.
AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list