[Bug 288655] lang/ghc: Broken with libutil recent changes in main

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Aug 2025 11:27:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288655

Gleb Popov <arrowd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(haskel |maintainer-feedback+
                   |l@FreeBSD.org)              |
                 CC|                            |arrowd@FreeBSD.org

--- Comment #1 from Gleb Popov <arrowd@FreeBSD.org> ---
(In reply to Nuno Teixeira from comment #0)
Can you please check if the following patch fixes the issue?

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index f3e39bfcf1a6..88cf3f8c2f3f 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -98,6 +98,10 @@ PLIST_SUB+=          GHC_ARCH=${GHC_ARCH}

 .include <bsd.port.pre.mk>

+.if ${OSVERSION} >= 1500000
+BUILD_DEPENDS+=               
${LOCALBASE}/lib/compat/libutil.so.9:misc/compat14x
+.endif
+
 # GHC 9.2 has a different name for this
 BOOT_SCRIPT?=  ./boot.source

-- 
You are receiving this mail because:
You are the assignee for the bug.