git: bf3eff78ea01 - main - lang/ghc*: Add unconditional BUILD_DEPENDS on libgmp.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 12 Jul 2023 15:06:19 UTC
The branch main has been updated by arrowd:

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

commit bf3eff78ea01a9ace36a31cf10538b24575f1396
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-07-12 14:43:51 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-07-12 14:43:51 +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.
---
 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