diff options
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/Makefile | 15 | ||||
-rw-r--r-- | lang/ghc/distinfo | 1 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index da1dac950e75..2b091500e006 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/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 <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-configure: pre-build: @${MKDIR} ${TMPDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo index 0504bbb43af5..904c3d11fff8 100644 --- a/lang/ghc/distinfo +++ b/lang/ghc/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 |