Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2024 15:12:07 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2eb4487adec4 - main - lang/ghc: Fix Hadrian build with BOOT option enabled
Message-ID:  <202404011512.431FC7LB018044@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit 2eb4487adec45a064417db7a28d670411d6f3a65
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-04-01 15:10:04 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-04-01 15:10:42 +0000

    lang/ghc: Fix Hadrian build with BOOT option enabled
    
    Reported by:    rene
---
 lang/ghc/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 3d64f3d7b49b..0387e4214005 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -174,11 +174,12 @@ BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libncursesw.so.8:misc/compat12x
 
 .if empty(PORT_OPTIONS:MBOOT)
 DISTFILES+=		ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${EXTRACT_SUFX}:boot
-.   if !defined(IGNORE_MISSING_HADRIAN) && defined(USE_HADRIAN)
-DISTFILES+=		hadrian-${GHC_VERSION}-boot.tar.gz:boot
-.   endif
 .endif # MBOOT
 
+.if !defined(IGNORE_MISSING_HADRIAN) && defined(USE_HADRIAN)
+DISTFILES+=		hadrian-${GHC_VERSION}-boot.tar.gz:boot
+.endif
+
 .if ${ARCH} == aarch64 || ${ARCH:Marmv*}
 # ghc-8.10.x on arm requires devel/llvm10
 # CONFIGURE_TARGET must to be the same as the llvm triple



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404011512.431FC7LB018044>