aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-02-22 12:00:59 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-02-22 12:00:59 +0000
commita389a0d2e46de9b2a355eea6ff19b11ea9da9b8c (patch)
treec0ef0eceb1713e9ec0cf22c221d9bb714801b691 /lang/ghc
parentc45a5502eaedb61eac16d4bce7684812fb00687b (diff)
downloadports-a389a0d2e46de9b2a355eea6ff19b11ea9da9b8c.tar.gz
ports-a389a0d2e46de9b2a355eea6ff19b11ea9da9b8c.zip
Notes
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile20
-rw-r--r--lang/ghc/distinfo3
2 files changed, 16 insertions, 7 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 3965a9858513..bedc84953cf2 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -16,10 +16,7 @@ DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
MAINTAINER= haskell@FreeBSD.org
COMMENT= A Compiler for the functional language Haskell
-ONLY_FOR_ARCHS= i386
-
-BOOT_DIST6= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
-BOOT_DIST7= ghc-${PORTVERSION}-i386-unknown-freebsd7-boot${EXTRACT_SUFX}:boot
+ONLY_FOR_ARCHS= i386 amd64
USE_AUTOTOOLS= autoconf:261:env
USE_BZIP2= yes
@@ -37,13 +34,22 @@ OPTIONS= PROFILE "Compile for profiling as well" on
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
+.if ${ARCH} == "i386"
.if ${OSVERSION} >= 700000
-DISTFILES+= ${BOOT_DIST7}
+DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd7-boot${EXTRACT_SUFX}:boot
.elif ${OSVERSION} >= 600000
-DISTFILES+= ${BOOT_DIST6}
+DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
+.else
+IGNORE= unsupported at the moment
+.endif
+.endif
+
+.if ${ARCH} == "amd64"
+.if ${OSVERSION} >= 700000
+DISTFILES+= ghc-${PORTVERSION}-x86_64-unknown-freebsd7-boot${EXTRACT_SUFX}:boot
.else
IGNORE= unsupported at the moment
-#DISTFILES+= ${BOOT_DIST5}
+.endif
.endif
PLIST_SUB+= GHC_VERSION=${PORTVERSION}
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo
index fa6136d9cbef..ca52da237cec 100644
--- a/lang/ghc/distinfo
+++ b/lang/ghc/distinfo
@@ -10,3 +10,6 @@ SIZE (ghc-6.8.2-i386-unknown-freebsd6-boot.tar.bz2) = 28890579
MD5 (ghc-6.8.2-i386-unknown-freebsd7-boot.tar.bz2) = 1761930aff8e7e55569ed9a69937fab7
SHA256 (ghc-6.8.2-i386-unknown-freebsd7-boot.tar.bz2) = 54f66813e8abca0e77aa15709f482f11dbd1850d3f06ba31be73fdc600cc6136
SIZE (ghc-6.8.2-i386-unknown-freebsd7-boot.tar.bz2) = 28717650
+MD5 (ghc-6.8.2-x86_64-unknown-freebsd7-boot.tar.bz2) = 6e5d98be9f098fcb25ec3cfc29c1d7fd
+SHA256 (ghc-6.8.2-x86_64-unknown-freebsd7-boot.tar.bz2) = 1fda769618460c4b656205f52b30fe801386fd8333b1f1b9513b698cf2422f41
+SIZE (ghc-6.8.2-x86_64-unknown-freebsd7-boot.tar.bz2) = 41041294