1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

lang/ghc: Update to 8.10.5

This commit is contained in:
Gleb Popov 2021-06-12 13:09:35 +03:00
parent 1d2372ec7f
commit 4cb80ca6dd
5 changed files with 913 additions and 915 deletions

View File

@ -2,7 +2,6 @@
PORTNAME= ghc
PORTVERSION= ${GHC_VERSION}
PORTREVISION= 1
CATEGORIES= lang haskell
MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
LOCAL/arrowd/:boot \
@ -19,13 +18,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 aarch64 armv6 armv7 powerpc64
USES= autoreconf compiler:c11 gmake iconv:translit \
USES= autoreconf compiler:c11 gmake iconv:build \
localbase:ldflags ncurses perl5 tar:xz
USE_LOCALE= en_US.UTF-8
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-iconv-includes=${LOCALBASE}/include \
--with-iconv-libraries=${LOCALBASE}/lib
CONFIGURE_ENV= CC=${CC} LD=${LD} PATH=${SLAVES_PREFIX}/bin:${PATH}
MAKE_ENV= PATH=${SLAVES_PREFIX}/bin:${PATH}
@ -74,7 +71,7 @@ BOOT_SUB_LIST_OFF= HSC2HS=${BOOT_HSC2HS}
PROFILE_SUB_LIST= WITH_PROFILE="YES"
PROFILE_SUB_LIST_OFF= WITH_PROFILE="NO"
GHC_VERSION= 8.10.4
GHC_VERSION= 8.10.5
CABAL_VERSION= 3.2.1.0
HSCOLOUR_VERSION= 1.24.4
LLVM_VERSION= 90

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1613130766
SHA256 (ghc-8.10.4-src.tar.xz) = 52af871b4e08550257d720c2944ac85727d0b948407cef1bebfe7508c224910e
SIZE (ghc-8.10.4-src.tar.xz) = 19818108
TIMESTAMP = 1622990833
SHA256 (ghc-8.10.5-src.tar.xz) = f10941f16e4fbd98580ab5241b9271bb0851304560c4d5ca127e3b0e20e3076f
SIZE (ghc-8.10.5-src.tar.xz) = 19920148
SHA256 (ghc-8.6.5-boot-amd64-freebsd.tar.xz) = aeaf8c0fee0d83de5088aa7ab92e92ee6999b4830e01e33bf3dd450b115c0208
SIZE (ghc-8.6.5-boot-amd64-freebsd.tar.xz) = 70213260
SHA256 (ghc-8.6.5-boot-i386-freebsd.tar.xz) = 47cc24cdcfa19601bb81a7f5660d1d72fec1110119e8ffe1daa0cddc7959206f

View File

@ -0,0 +1,12 @@
--- libraries/base/base.cabal.orig 2021-06-05 13:37:03 UTC
+++ libraries/base/base.cabal
@@ -404,6 +404,9 @@ Library
System.CPUTime.Posix.RUsage
System.CPUTime.Unsupported
+ if os(freebsd)
+ cc-options: -DLIBICONV_PLUG
+
-- We need to set the unit id to base (without a version number)
-- as it's magic.
ghc-options: -this-unit-id base

View File

@ -1,11 +0,0 @@
--- rts/posix/Itimer.c.orig 2020-02-24 23:55:56 UTC
+++ rts/posix/Itimer.c
@@ -48,7 +48,7 @@
#define USE_PTHREAD_FOR_ITIMER
#endif
-#if defined(freebsd_HOST_OS) && defined(THREADED_RTS)
+#if defined(freebsd_HOST_OS)
#define USE_PTHREAD_FOR_ITIMER
#endif

File diff suppressed because it is too large Load Diff