[Midnightbsd-cvs] [MidnightBSD/mports] 5b4e78: lang/ghc: run bootstrap bindist install with a cle...
Lucas Holt
noreply at github.com
Mon Sep 7 15:48:43 EDT 2026
Branch: refs/heads/lang/ghc
Home: https://github.com/MidnightBSD/mports
Commit: 5b4e78256e31b787868c1e437ce198a8a6dfadc9
https://github.com/MidnightBSD/mports/commit/5b4e78256e31b787868c1e437ce198a8a6dfadc9
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-07 (Mon, 07 Sep 2026)
Changed paths:
M lang/ghc/Makefile
Log Message:
-----------
lang/ghc: run bootstrap bindist install with a clean environment
When ghc is built as a dependency, do-depends.sh invokes bmake with
-DINSTALLS_DEPENDS, and bmake exports "-D INSTALLS_DEPENDS" in the
MAKEFLAGS environment variable. gmake parses MAKEFLAGS as options and
rejects -D, so the bootstrap bindist's "gmake install" in pre-configure
failed with ": invalid option -- D". Building the port directly worked
because MAKEFLAGS was empty.
The gmake.mk guard (MAKE_ENV+= MAKEFLAGS=) only covers framework-driven
make invocations. Use ${SETENVI} ${WRK_ENV} for this direct call, matching
the binary-dist targets later in the file and FreeBSD's port.
Fixes #857
AI-Assisted-by: Claude Fable 5.1 <noreply at anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01PqhJwxeUv8hz3u16y8tpUz
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