Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  5 Apr 2002 23:47:43 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        simonmar@microsoft.com, dwcjr@inethouston.net
Subject:   ports/36803: Update port: lang/ghc
Message-ID:  <20020405214743.1D1D75A545@nemesis.informatik.unibw-muenchen.de>

next in thread | raw e-mail | index | archive | help

>Number:         36803
>Category:       ports
>Synopsis:       Update port: lang/ghc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 05 14:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Thu Mar 21 12:00:59 CET 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

fixed lang/ghc build on -current by adding a bootstrap distribution
which does not need compat4x.

Simon: could you please appove these changes after putting the bootstrap
       distribution on haskell.org?

David: After committing these changes lang/ghc builds on -current and
       PR 36139 lang/nhc98, which depends on lang/ghc builds also on
       -current.

Regards,
         Olli

>How-To-Repeat:
>Fix:

diff -ruN ghc.old/Makefile ghc/Makefile
--- ghc.old/Makefile	Thu Jan 31 12:09:00 2002
+++ ghc/Makefile	Fri Apr  5 14:09:51 2002
@@ -11,12 +11,21 @@
 
 SRC_DIST=	ghc-${PORTVERSION}-src-1${EXTRACT_SUFX} 
 BOOT_DIST=	ghc-${PORTVERSION}-i386-unknown-freebsd-boot${EXTRACT_SUFX}
+BOOT_DIST5=	ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}
 
-DISTFILES=	${SRC_DIST} ${BOOT_DIST}
+USE_BZIP2=	yes
+.include <bsd.port.pre.mk>
+
+DISTFILES=	${SRC_DIST}
+
+.if ${OSVERSION} < 500000
+DISTFILES+=	${BOOT_DIST}
+.else
+DISTFILES+=	${BOOT_DIST5}
+.endif
 
 MAINTAINER=	simonmar@microsoft.com
 
-USE_BZIP2=	yes
 USE_PERL5=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
@@ -44,4 +53,4 @@
 pre-build:
 	@${MKDIR} ${TMPDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN ghc.old/distinfo ghc/distinfo
--- ghc.old/distinfo	Thu Jan 31 12:09:00 2002
+++ ghc/distinfo	Fri Apr  5 19:31:04 2002
@@ -1,2 +1,3 @@
 MD5 (ghc-5.02.2-src-1.tar.bz2) = 97295bf16d4df59f46e6040cc26bb6f4
 MD5 (ghc-5.02.2-i386-unknown-freebsd-boot.tar.bz2) = f63aacdb00cdf1684e61878f20e94056
+MD5 (ghc-5.02.2-i386-unknown-freebsd5-boot.tar.bz2) = d2d5d2439d6982fd3cd86f3e49461052

>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?20020405214743.1D1D75A545>