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.
This commit is contained in:
Gleb Popov 2023-05-17 09:42:53 +03:00
commit ec3732ac63

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,4 @@
PORTREVISION= 3
PORTREVISION= 4
PKGNAMESUFFIX= 810
LIB_DEPENDS= ${GMP_LIB_DEPENDS}