[Midnightbsd-cvs] [MidnightBSD/mports] 5a7476: lang/ghc: update to 9.12.4

Lucas Holt noreply at github.com
Thu Oct 1 16:04:47 EDT 2026


  Branch: refs/heads/lang/ghc
  Home:   https://github.com/MidnightBSD/mports
  Commit: 5a74767f12ba7dc1b33376d1fa6fda984822fd33
      https://github.com/MidnightBSD/mports/commit/5a74767f12ba7dc1b33376d1fa6fda984822fd33
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M lang/ghc/Makefile
    M lang/ghc/distinfo
    R lang/ghc/files/UserSettings.hs
    R lang/ghc/files/build.mk.in
    R lang/ghc/files/extra-utils_llvm-targets_gen-data-layout.sh
    R lang/ghc/files/fixup-plist.hs
    R lang/ghc/files/patch-compiler_cbits_genSym.c
    A lang/ghc/files/patch-docs_users__guide_rtd-theme_layout.html
    A lang/ghc/files/patch-libraries_semaphore-compat_src_System_Semaphore.hs
    R lang/ghc/files/patch-llvm-targets
    A lang/ghc/files/patch-m4_ghc__convert__os.m4
    R lang/ghc/files/plan-bootstrap-8_10_7.json
    R lang/ghc/files/plan-bootstrap-9_2_8.json
    M lang/ghc/pkg-plist
    R lang/ghc/pkg-plist.hadrian

  Log Message:
  -----------
  lang/ghc: update to 9.12.4

Sync with FreeBSD's lang/ghc (9.8.4 -> 9.10.3 -> 9.12.4), keeping the
MidnightBSD-specific changes: FREEBSD_LOCAL boot site, maintainer and
license, BROKEN on 3.2, the x86_64-portbld-freebsd target triple and
explicit triples/clean env for the bootstrap bindist install.

MidnightBSD-specific fixes:
- Configure the Hadrian bindist with --prefix=${TRUE_PREFIX}; using the
  staged ${PREFIX} doubled the fake path (the 9.8.4 fake failure on the
  4.0 cluster run) and would have baked it into the ghc wrappers.
- Map midnightbsd* to freebsd in m4/ghc_convert_os.m4. The RTS configure
  run by Hadrian gets --build from config.guess and failed with
  "Unknown OS midnightbsd4.0.6".
- Keep USE_LOCALE=en_US.UTF-8: FreeBSD dropped it after moving its tree
  to C.UTF-8, but Hadrian fails reading the UTF-8 sphinx log under C.
- Drop powerpc-only bits and the FreeBSD 15 compat14x dependency.
- Remove files obsolete since the make->Hadrian switch.

Closes #24

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