[Midnightbsd-cvs] [MidnightBSD/mports] e5ca5d: cad/hs-verismith: unbreak with GHC 9.12

Lucas Holt noreply at github.com
Fri Oct 2 01:14:02 EDT 2026


  Branch: refs/heads/cad/hs-verismith
  Home:   https://github.com/MidnightBSD/mports
  Commit: e5ca5d1cf3307858ef7d1dbc5544021abbbb1bad
      https://github.com/MidnightBSD/mports/commit/e5ca5d1cf3307858ef7d1dbc5544021abbbb1bad
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M cad/hs-verismith/Makefile
    A cad/hs-verismith/Makefile.cabal
    M cad/hs-verismith/distinfo
    A cad/hs-verismith/files/patch-verismith.cabal

  Log Message:
  -----------
  cad/hs-verismith: unbreak with GHC 9.12

The port had its GHC dependency disabled (xBUILD_DEPENDS on a
non-existent lang/ghc96) and could not build with our GHC.

- Fetch from Hackage and take the USE_CABAL set from FreeBSD's port
  (Makefile.cabal), minus the GHC boot libraries it vendors (binary,
  bytestring, directory, file-io, filepath, os-string, parsec, process,
  text, unix). Building those as local packages gives them the same
  -inplace unit ids as GHC 9.12.4's copies, and Template Haskell then
  fails loading gitrev with an undefined directory symbol.
- Relax verismith's bytestring, filepath and time upper bounds so the
  GHC 9.12.4 boot packages satisfy them. FreeBSD instead builds with a
  separate lang/ghc910, which we do not have.

Requires the synced Mk/extensions/cabal.mk and GHC 9.12.4.

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