Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Mar 2026 07:03:58 +0000
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: c30918b1d1fe - main - lang/ghc: Install unsuffixed haddock executable
Message-ID:  <69ae70de.270b2.1ebbea65@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by arrowd:

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

commit c30918b1d1fe2ac1d3e08f43897923aad73ede9c
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-08 09:17:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-09 07:03:50 +0000

    lang/ghc: Install unsuffixed haddock executable
---
 lang/ghc/Makefile  | 3 +--
 lang/ghc/pkg-plist | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 29ad1d75ea2b..2f7372af499e 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ghc
 PORTVERSION=	${GHC_VERSION}
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	lang haskell
 MASTER_SITES=	https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
 		LOCAL/arrowd/:boot
@@ -193,7 +193,6 @@ post-install:
 	${RM} -r ${STAGEDIR}${PREFIX}/include/*
 	${FIND} ${STAGEDIR}${DOCSDIR} -name .buildinfo -delete
 	${FIND} ${STAGEDIR}${PREFIX}/lib/ghc-${GHC_VERSION} -type f -perm +111 -not -name '*js' -exec ${STRIP_CMD} {} +
-	${RM} ${STAGEDIR}${PREFIX}/bin/haddock
 .if ${SLAVE_PORT} == "yes"
 # Do not install docs for slave GHCs
 	${FIND} ${STAGEDIR}${PREFIX}/bin -not -type d -not -regex '.*-${GHC_VERSION}' -delete
diff --git a/lang/ghc/pkg-plist b/lang/ghc/pkg-plist
index 39e81735792d..db4cc465c60c 100644
--- a/lang/ghc/pkg-plist
+++ b/lang/ghc/pkg-plist
@@ -4,6 +4,7 @@ bin/ghc-pkg
 bin/ghc-pkg-%%GHC_VERSION%%
 bin/ghci
 bin/ghci-%%GHC_VERSION%%
+bin/haddock
 bin/haddock-ghc-%%GHC_VERSION%%
 bin/hp2ps
 bin/hp2ps-ghc-%%GHC_VERSION%%


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ae70de.270b2.1ebbea65>