pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/ghc88
Module Name: pkgsrc
Committed By: pho
Date: Sun Jan 12 08:13:41 UTC 2020
Modified Files:
pkgsrc/lang/ghc88: Makefile bootstrap.mk distinfo
pkgsrc/lang/ghc88/patches: patch-aclocal.m4
Log Message:
Fix a build failure that happens when alex is not installed
Also added a bookit for Darwin/x86_64.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ghc88/Makefile \
pkgsrc/lang/ghc88/bootstrap.mk pkgsrc/lang/ghc88/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ghc88/patches/patch-aclocal.m4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/ghc88/Makefile
diff -u pkgsrc/lang/ghc88/Makefile:1.1 pkgsrc/lang/ghc88/Makefile:1.2
--- pkgsrc/lang/ghc88/Makefile:1.1 Thu Jan 9 12:32:24 2020
+++ pkgsrc/lang/ghc88/Makefile Sun Jan 12 08:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/09 12:32:24 pho Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/12 08:13:40 pho Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -21,6 +21,7 @@ CONFLICTS+= ghc-[0-9]*
# you want to build them yourself, follow instructions in
# BOOTSTRAP.txt and ./bootstrap.mk
#BROKEN_EXCEPT_ON_PLATFORM+= Darwin-*-powerpc # Not available yet
+BROKEN_EXCEPT_ON_PLATFORM+= Darwin-*-x86_64
#BROKEN_EXCEPT_ON_PLATFORM+= FreeBSD-*-i386 # Not available yet
BROKEN_EXCEPT_ON_PLATFORM+= NetBSD-*-x86_64
#BROKEN_EXCEPT_ON_PLATFORM+= SunOS-*-i386 # Not available yet
Index: pkgsrc/lang/ghc88/bootstrap.mk
diff -u pkgsrc/lang/ghc88/bootstrap.mk:1.1 pkgsrc/lang/ghc88/bootstrap.mk:1.2
--- pkgsrc/lang/ghc88/bootstrap.mk:1.1 Thu Jan 9 12:32:24 2020
+++ pkgsrc/lang/ghc88/bootstrap.mk Sun Jan 12 08:13:40 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.1 2020/01/09 12:32:24 pho Exp $
+# $NetBSD: bootstrap.mk,v 1.2 2020/01/12 08:13:40 pho Exp $
# -----------------------------------------------------------------------------
# Select a bindist of bootstrapping compiler on a per-platform basis.
#
@@ -32,6 +32,12 @@
#DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE} # Available in LOCAL_PORTS
.endif
+.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make (makesum) || make(mdi)
+BOOT_VERSION:= 8.4.4
+BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-x86_64-apple-darwin.tar.xz
+DISTFILES:= ${DISTFILES} ${BOOT_ARCHIVE} # Available in LOCAL_PORTS
+.endif
+
.if !empty(MACHINE_PLATFORM:MFreeBSD-*-i386) || make(distinfo) || make (makesum) || make(mdi)
#BOOT_VERSION:= 8.4.4
#BOOT_ARCHIVE:= ghc-${BOOT_VERSION}-boot-i386-unknown-freebsd.tar.xz
Index: pkgsrc/lang/ghc88/distinfo
diff -u pkgsrc/lang/ghc88/distinfo:1.1 pkgsrc/lang/ghc88/distinfo:1.2
--- pkgsrc/lang/ghc88/distinfo:1.1 Thu Jan 9 12:32:24 2020
+++ pkgsrc/lang/ghc88/distinfo Sun Jan 12 08:13:40 2020
@@ -1,5 +1,9 @@
-$NetBSD: distinfo,v 1.1 2020/01/09 12:32:24 pho Exp $
+$NetBSD: distinfo,v 1.2 2020/01/12 08:13:40 pho Exp $
+SHA1 (ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz) = 688f5729992bd2476699d9067d97e79b06bdec60
+RMD160 (ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz) = 4e9c52c8ef07343cc24528e3f8431754237d0be3
+SHA512 (ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz) = abc92ca6822ba7fe2d09bc381a833c0cbd5f436b517fba003736195cec45f8ce2e33623a587ad35f5702baac791594d62fc829e2ea4dfceae2455875661b3ba6
+Size (ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz) = 51700444 bytes
SHA1 (ghc-8.4.4-boot-x86_64-unknown-netbsd.tar.xz) = bc7b0e203a6e7e6804c4be46957352d032cd22ec
RMD160 (ghc-8.4.4-boot-x86_64-unknown-netbsd.tar.xz) = dd50835c50cd2102c1af4d2ed8f1148c8ac4d4d9
SHA512 (ghc-8.4.4-boot-x86_64-unknown-netbsd.tar.xz) = 0cc836390985c56d79a5c08dd2117c53fc9802b969db408dab14cfd441d95b2b5c18fed5d0b6da8a8555501e668ba471d0b878ea11a0021fba76265ed4ef8f76
@@ -8,7 +12,7 @@ SHA1 (ghc-8.8.1-src.tar.xz) = 9d8c1b2e0b
RMD160 (ghc-8.8.1-src.tar.xz) = c514d565e9f808a58991e47b17dccb85f0c01056
SHA512 (ghc-8.8.1-src.tar.xz) = 7268b012c3a6c34e7eac05c7d6959de6005651d33e870860bbfe589295502e8794a76580130b8f4da2f88032b68116dbbdbc4c1e900e0c862aaa9891fa788bef
Size (ghc-8.8.1-src.tar.xz) = 28634672 bytes
-SHA1 (patch-aclocal.m4) = e4065df0cfc2924aa12f7b0f18a58ff80b1ff1dc
+SHA1 (patch-aclocal.m4) = a674a21f5be05f06a972b1dd42c05dca02e70740
SHA1 (patch-compiler_main_DynFlags.hs) = 07bb2a5afdd087f4d2da5c035feecc13273aec70
SHA1 (patch-configure.ac) = f521200b519fdaab1082c4a2fcac9c3dd9135d7b
SHA1 (patch-ghc_ghc.mk) = 331b947f6a5af09b3fda82697f071941166edbd0
Index: pkgsrc/lang/ghc88/patches/patch-aclocal.m4
diff -u pkgsrc/lang/ghc88/patches/patch-aclocal.m4:1.1 pkgsrc/lang/ghc88/patches/patch-aclocal.m4:1.2
--- pkgsrc/lang/ghc88/patches/patch-aclocal.m4:1.1 Thu Jan 9 12:32:24 2020
+++ pkgsrc/lang/ghc88/patches/patch-aclocal.m4 Sun Jan 12 08:13:41 2020
@@ -1,10 +1,29 @@
-$NetBSD: patch-aclocal.m4,v 1.1 2020/01/09 12:32:24 pho Exp $
+$NetBSD: patch-aclocal.m4,v 1.2 2020/01/12 08:13:41 pho Exp $
-Canonicalize OS name netbsd* to "netbsd".
+Hunk #1:
+ Don't require Alex to build. Fixed in upstream:
+ https://gitlab.haskell.org/ghc/ghc/issues/16860
---- aclocal.m4.orig 2019-08-25 12:03:36.000000000 +0000
+Hunk #2:
+ Canonicalize OS name netbsd* to "netbsd".
+
+--- aclocal.m4.orig 2020-01-12 06:28:01.000000000 +0000
+++ aclocal.m4
-@@ -2044,6 +2044,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
+@@ -985,8 +985,11 @@ else
+ fi;
+ changequote([, ])dnl
+ ])
+-FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
+- [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
++if test ! -f compiler/parser/Lexer.hs
++then
++ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
++ [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
++fi
+ AlexVersion=$fptools_cv_alex_version;
+ AC_SUBST(AlexVersion)
+ ])
+@@ -2044,6 +2047,9 @@ AC_DEFUN([GHC_CONVERT_OS],[
openbsd*)
$3="openbsd"
;;
Home |
Main Index |
Thread Index |
Old Index