git: ec3732ac636b - main - lang/ghc: Remove USES=localbase and USES=iconv.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 17 May 2023 19:22:00 UTC
The branch main has been updated by arrowd:

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

commit ec3732ac636b8c903597fe60ed6cb09e2cacad93
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-05-17 06:42:53 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-05-17 19:21:58 +0000

    lang/ghc: Remove USES=localbase and USES=iconv.
    
    Apparently these aren't needed anymore.
    
    Add iconv dependency to devel/stack, because it might download old GHC bindists,
    which are still using ports libiconv.
---
 devel/stack/Makefile | 3 ++-
 lang/ghc/Makefile    | 6 +++---
 lang/ghc810/Makefile | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/devel/stack/Makefile b/devel/stack/Makefile
index 1a8cd7339c18..a7793b32eb0e 100644
--- a/devel/stack/Makefile
+++ b/devel/stack/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	stack
 PORTVERSION=	2.9.3
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel haskell
 
@@ -16,7 +17,7 @@ RUN_DEPENDS=	ca_root_nss>0:security/ca_root_nss \
 		${LOCALBASE}/lib/compat/libffi.so.6:devel/libffi321 \
 		${LOCALBASE}/lib/compat/libffi.so.7:devel/libffi33
 
-USES=		cabal gmake perl5 pkgconfig
+USES=		cabal gmake iconv:wchar_t perl5 pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	commercialhaskell
 USE_PERL5=	run
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 5a41e5e1c4c9..73b101eccd10 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
@@ -15,8 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386
 
-USES=			autoreconf compiler:c11 gmake iconv:patch,translit \
-			localbase:ldflags ncurses perl5 python:build shebangfix \
+USES=			autoreconf compiler:c11 gmake \
+			ncurses perl5 python:build shebangfix \
 			tar:xz
 
 GNU_CONFIGURE=		yes
diff --git a/lang/ghc810/Makefile b/lang/ghc810/Makefile
index 38e2ae6f3a68..10e84c14e360 100644
--- a/lang/ghc810/Makefile
+++ b/lang/ghc810/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=		3
+PORTREVISION=		4
 PKGNAMESUFFIX=		810
 
 LIB_DEPENDS=		${GMP_LIB_DEPENDS}