[Midnightbsd-cvs] [MidnightBSD/mports] bff814: devel/llvm18: fix CRT library staging for MidnightBSD
Lucas Holt
noreply at github.com
Mon May 4 15:54:46 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: bff8146d30a351994580d49119db9ca825023b03
https://github.com/MidnightBSD/mports/commit/bff8146d30a351994580d49119db9ca825023b03
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M devel/llvm18/Makefile
Log Message:
-----------
devel/llvm18: fix CRT library staging for MidnightBSD
The post-install CRT symlink loop used cd ${PREFIX}/${_CRTLIBDIR} without
FAKE_DESTDIR, so it silently failed during bmake fake and the MidnightBSD
target triple directory (e.g. x86_64-portbld-midnightbsd4.0/) was never
created in the staged package. Clang could not find runtime libraries at
runtime on MidnightBSD.
Move CRT handling to post-install-CLANG-on using FAKE_DESTDIR-prefixed
paths and CP -R instead of LN, matching the fix already applied to llvm19.
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