From d8ee1a37fda26263bc048d57d43db1bec7efe7e4 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Wed, 8 May 2002 16:41:23 +0000 Subject: Fix for -current PR: 36803 Submitted by: maintainer --- lang/ghc5/Makefile | 15 ++++++++++++--- lang/ghc5/distinfo | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'lang/ghc5') diff --git a/lang/ghc5/Makefile b/lang/ghc5/Makefile index da1dac950e75..2b091500e006 100644 --- a/lang/ghc5/Makefile +++ b/lang/ghc5/Makefile @@ -11,12 +11,21 @@ MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/ 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 + +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-configure: pre-build: @${MKDIR} ${TMPDIR} -.include +.include diff --git a/lang/ghc5/distinfo b/lang/ghc5/distinfo index 0504bbb43af5..904c3d11fff8 100644 --- a/lang/ghc5/distinfo +++ b/lang/ghc5/distinfo @@ -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 -- cgit v1.2.3