[Midnightbsd-cvs] [MidnightBSD/mports] 170ab9: Mk/extensions/cargo.mk: fix pkgconfig inclusion ch...
Lucas Holt
noreply at github.com
Sat May 16 00:35:50 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 170ab902d03ee594e94d64ededecb0747c767ff2
https://github.com/MidnightBSD/mports/commit/170ab902d03ee594e94d64ededecb0747c767ff2
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-16 (Sat, 16 May 2026)
Changed paths:
M Mk/extensions/cargo.mk
Log Message:
-----------
Mk/extensions/cargo.mk: fix pkgconfig inclusion check for cargo ports
The condition checking for the pkg-config crate used CARGO_CRATES
(raw name-version entries like pkg-config-0.3.19) with a pattern that
can never match. All other crate checks in this file correctly use
_CARGO_CRATES, where the crate name appears as a standalone word in
the pre-processed 4-tuple list. Without this fix, pkgconfig.mk is
never included, pkgconf is never added to BUILD_DEPENDS, and any cargo
port relying on the pkg-config binary at build time (e.g. onig_sys
with RUSTONIG_SYSTEM_LIBONIG) fails with ENOENT.
Fixes devel/git-delta build failure on i386.
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.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