Date: Sun, 27 Jan 2002 20:32:47 GMT From: Simon Marlow <simon@smarlow.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/34349: Fix lang/ghc and upgrade to version 5.02.2 Message-ID: <200201272032.g0RKWlo80161@jaffacakes.freeserve.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 34349 >Category: ports >Synopsis: Fix lang/ghc and upgrade to version 5.02.2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 27 12:40:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Simon Marlow <simon@smarlow.com> >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD rachel.home 4.4-STABLE FreeBSD 4.4-STABLE #26: Mon Dec 3 19:35:10 GMT 2001 simonm@rachel.home:/usr/src/sys/compile/RACHEL i386 >Description: The GHC port (lang/ghc) won't build unless Happy (devel/happy) is installed. This is not a formal dependency in the port, and it is unintentional. It is also problematic because devel/happy itself requires GHC to build, leading to a chicken/egg situation. >How-To-Repeat: >Fix: The patch below aremoves the dependency on Happy, and also upgrades the GHC port to 5.02.2. diff -crN ghc-OLD/Makefile ghc/Makefile *** ghc-OLD/Makefile Mon Jan 7 14:39:00 2002 --- ghc/Makefile Sun Jan 27 12:20:19 2002 *************** *** 5,11 **** # $FreeBSD: ports/lang/ghc/Makefile,v 1.7 2002/01/07 14:39:00 olgeni Exp $ PORTNAME= ghc ! PORTVERSION= 5.02.1 CATEGORIES= lang MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/ --- 5,11 ---- # $FreeBSD: ports/lang/ghc/Makefile,v 1.7 2002/01/07 14:39:00 olgeni Exp $ PORTNAME= ghc ! PORTVERSION= 5.02.2 CATEGORIES= lang MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/ diff -crN ghc-OLD/distinfo ghc/distinfo *** ghc-OLD/distinfo Mon Jan 7 14:39:00 2002 --- ghc/distinfo Sun Jan 27 12:31:13 2002 *************** *** 1,2 **** ! MD5 (ghc-5.02.1-src-1.tar.bz2) = 836a694411a2ec702eadb01df8d26936 ! MD5 (ghc-5.02.1-i386-unknown-freebsd-boot.tar.bz2) = 7e04f91990d67560281b852a7dece0c5 --- 1,2 ---- ! MD5 (ghc-5.02.2-src-1.tar.bz2) = 97295bf16d4df59f46e6040cc26bb6f4 ! MD5 (ghc-5.02.2-i386-unknown-freebsd-boot.tar.bz2) = f63aacdb00cdf1684e61878f20e94056 diff -crN ghc-OLD/files/patch-configure ghc/files/patch-configure *** ghc-OLD/files/patch-configure Thu Jan 1 01:00:00 1970 --- ghc/files/patch-configure Thu Jan 24 22:15:04 2002 *************** *** 0 **** --- 1,19 ---- + *** configure~ Fri Nov 2 12:49:24 2001 + --- configure Thu Jan 24 21:51:56 2002 + *************** + *** 2593,2599 **** + test ${h1} -lt ${h2} + ) + then + ! { echo "configure: error: Happy version 1.9 or later is required to compile GHC." 1>&2; exit 1; } + + fi + fi + --- 2593,2599 ---- + test ${h1} -lt ${h2} + ) + then + ! # { echo "configure: error: Happy version 1.9 or later is required to compile GHC." 1>&2; exit 1; } + + fi + fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201272032.g0RKWlo80161>