From nobody Sat Dec 21 12:30:57 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YFkCk0Df8z5h1d7; Sat, 21 Dec 2024 12:30:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YFkCj6rNbz40Bf; Sat, 21 Dec 2024 12:30:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734784258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XPzIMoGZP9G3SlENlVJSCswTwetQtYyyla8uElrcOTk=; b=x3P7dUQ7E8RffJqP2MBQUJWrXVbSlzfxY6LJO2MhvprcOqG1+Wt4y87IIqnUnj7ODgg+1o INJdGkZJT8GNr8tbkUTqZoLUCjpoDE4Z3HOw48rbQsYmzDzshKD12K/CdsnvYLrpaAr4DE JR8QQIeXeNndG5J1kLpdOBHYXPrD70EJ04Ri8FapZpbEhX3j2yGTBWsnt9kKHlHHzWVis5 4AvVGys+eet7Cpz54uubtq0jGYOamnAe0J26HBjq0B/VxrNeeh0M+lktNVBuBaOihtte+y 252g2himg5xB6uLUQFow1QDRQsONaRC8b0N+1Eg7hN3WffXzWELoeN8d585RVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734784258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XPzIMoGZP9G3SlENlVJSCswTwetQtYyyla8uElrcOTk=; b=w849XZwLFVMYO3Gi+hWTL2xtcC70pvca11f4cPdY4jipmuWQPAscgGWRzJVFFXcOwypEb+ kbMnpsiaFKMMCpWQ7gg0S5BYxa6lDJzxiVpFRB7aUDiqmGNYYVqKiHvTZ0P5WD/tGmMhz1 xA45OmZLCEY4gsXZIgvfQIl4g1W+RBU1nO0dof3CHlQelL43Ug7pO6NzgwdZ070lE+Jfqz 0tF0n+TukVNMtViDWfJFhYqiF0+uNXKM6WBnOOLaGNTF6uMeZCQ0diPi+su0s8/Z1Kjgyh RIS+eRHLXLI7TWVw2FAub5DgVv0ZjgJjoZz8ro+fIPngmZAo4UXht3BBxGECIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734784258; a=rsa-sha256; cv=none; b=ZCbXmSCycNU1Jd6qchlCUBgJLfuFuRQjyhTxpwrLBQWlwK+/GPQZGgx00HYTxYp6TmXApN HiVCRFJC891Q5c4Ges/6CQFZG/4wVXqumFzeZjEZxuiJZ8pDTEpv3FT69ELj8UFOL3Si0O ZjwmjDVAPps1BTD3H+Ngzp3f+mVWMlVLGmHfhLb+bchPohbYXTjbb4HFiD93iBnXEKHvHu QgHsf5f7r/Z7TpM1ZOfAXoPi7F8pOuKo47abBDn/xi3rlkSOwvwkYZMDzpyPRBiMAYfxHP 6JBapUPSG4ZH64Opmlwc1PiaXyXHsAIx+U2Ln2M7H/D2kUNb7u44Dne5F38xgA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YFkCj6K9BzP2F; Sat, 21 Dec 2024 12:30:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BLCUv3W058914; Sat, 21 Dec 2024 12:30:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BLCUvnU058911; Sat, 21 Dec 2024 12:30:57 GMT (envelope-from git) Date: Sat, 21 Dec 2024 12:30:57 GMT Message-Id: <202412211230.4BLCUvnU058911@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 344cf9384c54 - main - lang/ghc: Introduce PDFDOCS option. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 344cf9384c54007933590e02c6a9758615dbb5e4 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=344cf9384c54007933590e02c6a9758615dbb5e4 commit 344cf9384c54007933590e02c6a9758615dbb5e4 Author: Gleb Popov AuthorDate: 2024-12-21 12:29:54 +0000 Commit: Gleb Popov CommitDate: 2024-12-21 12:30:53 +0000 lang/ghc: Introduce PDFDOCS option. PR: 283368 --- lang/ghc/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index eacc43eb2540..73d1b7b5e094 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -31,7 +31,7 @@ NO_CCACHE= yes OPTIONS_SUB= yes SHEBANG_FILES= ${BOOT_SCRIPT} -OPTIONS_DEFINE?= DYNAMIC GMP PROFILE DOCS +OPTIONS_DEFINE?= DYNAMIC GMP PROFILE DOCS PDFDOCS OPTIONS_DEFAULT= DYNAMIC PROFILE GMP OPTIONS_GROUP= BOOTSTRAP @@ -39,7 +39,8 @@ BOOTSTRAP_DESC= Bootsrap using installed ghc OPTIONS_GROUP_BOOTSTRAP=BOOT BOOT_DESC= Use installed GHC for bootstrapping -DOCS_DESC= Install HTML documentation +DOCS_DESC= Build and install HTML documentation +PDFDOCS_DESC= Build and install PDF documentation DYNAMIC_DESC= Add support for dynamic linking GMP_DESC= Use GNU Multi-precision Library from Ports PROFILE_DESC= Add support for performance profiling @@ -51,6 +52,11 @@ 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 +PDFDOCS_IMPLIES= DOCS +PDFDOCS_BUILD_DEPENDS= xelatex:print/tex-xetex \ + ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu +PDFDOCS_VARS= hadrian_docs_arg= + DYNAMIC_CONFIGURE_WITH= system-libffi \ ffi-includes=${LOCALBASE}/include \ ffi-libraries=${LOCALBASE}/lib