[Midnightbsd-cvs] [MidnightBSD/mports] 2dcccb: Mk/extensions/cabal.mk: sync with FreeBSD Mk/Uses/...
Lucas Holt
noreply at github.com
Fri Oct 2 01:12:07 EDT 2026
Branch: refs/heads/Mk/cabal
Home: https://github.com/MidnightBSD/mports
Commit: 2dcccb2415f4d3cb118af53fabf5f2486f2086f8
https://github.com/MidnightBSD/mports/commit/2dcccb2415f4d3cb118af53fabf5f2486f2086f8
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M Mk/extensions/cabal.mk
Log Message:
-----------
Mk/extensions/cabal.mk: sync with FreeBSD Mk/Uses/cabal.mk
Our cabal.mk predates several FreeBSD changes the current Haskell ports
rely on: CABAL_EXECUTABLES (replaces EXECUTABLES), CABAL_WRAPPER_SCRIPTS,
SKIP_CABAL_EXTRACT (replaces CABAL_BOOTSTRAP), HACKAGE_DISTNAME,
CABAL_REVISION, Makefile.cabal includes, cabal.project.local handling and
the non-"new-" cabal commands run with WRK_ENV and XDG paths.
mports adaptations:
- hook cabal-post-install-script with _USES_install (there is no stage
phase; the old _USES_stage hook never ran)
- PREFIX is already staged in do-install, so use it directly, and write
runtime paths (TRUE_PREFIX, unstaged DATADIR) into wrapper scripts
- default USE_LOCALE to en_US.UTF-8: mports builds under the C locale,
FreeBSD under C.UTF-8, and GHC needs UTF-8
AI-Assisted-by: Claude Opus 5.5 <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <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