git: d746362f2521 - 2023Q3 - lang/ghc*: Add unconditional BUILD_DEPENDS on libgmp.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 28 Jul 2023 16:07:19 UTC
The branch 2023Q3 has been updated by arrowd:

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

commit d746362f252158e184b43fc8f0220e7eafd11197
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-07-12 14:43:51 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-07-28 16:05:04 +0000

    lang/ghc*: Add unconditional BUILD_DEPENDS on libgmp.
    
    Rerolled bootstraps are now using GMP-backed Integer's, so make sure we can
    run them on the build stage.
    
    (cherry picked from commit bf3eff78ea01a9ace36a31cf10538b24575f1396)
---
 lang/ghc/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 7a42d5888840..5ba3448cadbd 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -15,6 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 ONLY_FOR_ARCHS=		aarch64 amd64 i386
 
+BUILD_DEPENDS=		${LOCALBASE}/lib/libgmp.so:math/gmp
+
 USES=			autoreconf compiler:c11 gmake \
 			ncurses perl5 python:build shebangfix \
 			tar:xz