git: 0e32e26d3800 - main - lang/ghc: Do not build PDF docs to avoid a heavy dependency on xetex

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 19 Dec 2024 17:18:02 UTC
The branch main has been updated by arrowd:

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

commit 0e32e26d3800536e3c065ff45c6342ff4db1ad37
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-12-19 17:14:27 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-12-19 17:17:45 +0000

    lang/ghc: Do not build PDF docs to avoid a heavy dependency on xetex
    
    PR:             283368
---
 lang/ghc/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index a61a0477f0e3..eacc43eb2540 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ghc
 PORTVERSION=	${GHC_VERSION}
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	lang haskell
 MASTER_SITES=	https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
 		LOCAL/arrowd/:boot
@@ -47,10 +47,8 @@ PROFILE_DESC=		Add support for performance profiling
 BOOT_CONFIGURE_ENV=	GHC=${LOCALBASE}/bin/ghc
 BOOT_CONFIGURE_ENV_OFF=	GHC=${BOOT_GHC} LLC=llc${BOOT_LLVM_VERSION} OPT=opt${BOOT_LLVM_VERSION}
 
-DOCS_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx \
-			xelatex:print/tex-xetex \
-			${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
-DOCS_VARS=		enable_docs=YES
+DOCS_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
+DOCS_VARS=		enable_docs=YES hadrian_docs_arg=--docs=no-sphinx-pdfs
 DOCS_VARS_OFF=		enable_docs=NO hadrian_docs_arg=--docs=none
 
 DYNAMIC_CONFIGURE_WITH=	system-libffi \