git: 707e83356665 - main - devel/hs-hlint: Workaround the Cabal bug when building ghc-lib-parser

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 18 May 2025 14:55:06 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=707e83356665227eb5c030ccc601a7160279e89d

commit 707e83356665227eb5c030ccc601a7160279e89d
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-05-18 14:54:27 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-05-18 14:55:01 +0000

    devel/hs-hlint: Workaround the Cabal bug when building ghc-lib-parser
    
    Upstream issue: https://github.com/haskell/cabal/issues/10963
    Reported by:    pkg-fallout
---
 devel/hs-hlint/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/hs-hlint/Makefile b/devel/hs-hlint/Makefile
index 793184c6ef3b..6ccd08f8a922 100644
--- a/devel/hs-hlint/Makefile
+++ b/devel/hs-hlint/Makefile
@@ -95,4 +95,7 @@ USE_CABAL=	OneTuple-0.4.2_1 \
 		witherable-0.5_1 \
 		yaml-0.11.11.2_2
 
+post-patch:
+	${REINPLACE_CMD} 's|jobs: 1|jobs: 2|' ${CABAL_HOME}/.cabal/config
+
 .include <bsd.port.mk>