aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-05-28 17:30:51 +0800
committervs <vs@FreeBSD.org>2006-05-28 17:30:51 +0800
commit4388e9c82fb15ca75a25e2f3080b08e444dc8dde (patch)
tree39be23e718f0cc1c629099c9065711c761d7d9fd /lang/ghc
parenta28d19c06df2faa8f1c3ef3bd8190fed398de6c3 (diff)
downloadfreebsd-ports-gnome-4388e9c82fb15ca75a25e2f3080b08e444dc8dde.tar.gz
freebsd-ports-gnome-4388e9c82fb15ca75a25e2f3080b08e444dc8dde.tar.zst
freebsd-ports-gnome-4388e9c82fb15ca75a25e2f3080b08e444dc8dde.zip
- Enable build for 5.x
- Prune compat5 from LIB_DEPENDS on 6.x as it has been redundant for a while.
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile11
-rw-r--r--lang/ghc/distinfo3
2 files changed, 8 insertions, 6 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index b154f69f6cf4..d31202bb5e96 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -17,6 +17,7 @@ ONLY_FOR_ARCHS= i386
SRC_DIST= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
BOOT_DIST4= ghc-${PORTVERSION}-i386-unknown-freebsd4-boot${EXTRACT_SUFX}:boot
+BOOT_DIST5= ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}:boot
BOOT_DIST= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
USE_BZIP2= yes
@@ -27,16 +28,14 @@ OPTIONS= PROFILE "Compile for profiling as well" on
DISTFILES= ${SRC_DIST}
-.if ${OSVERSION} < 600000
-IGNORE= unsupported at the moment
-.endif
-
.if ${OSVERSION} < 500000
DISTFILES+= ${BOOT_DIST4}
+IGNORE= unsupported at the moment
.else
-DISTFILES+= ${BOOT_DIST}
.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+DISTFILES+= ${BOOT_DIST}
+.else
+DISTFILES+= ${BOOT_DIST5}
.endif
.endif
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo
index fee28913dc62..6ba6f1fdaa24 100644
--- a/lang/ghc/distinfo
+++ b/lang/ghc/distinfo
@@ -4,6 +4,9 @@ SIZE (ghc-6.4.2-src.tar.bz2) = 6954958
MD5 (ghc-6.4.2-i386-unknown-freebsd6-boot.tar.bz2) = a13232e025aec4a843a7601597bb866e
SHA256 (ghc-6.4.2-i386-unknown-freebsd6-boot.tar.bz2) = d2b545b6c782adf26d71ad700ff1ac32b95d2b3832d7d00117372aa98d4245e3
SIZE (ghc-6.4.2-i386-unknown-freebsd6-boot.tar.bz2) = 6769904
+MD5 (ghc-6.4.2-i386-unknown-freebsd5-boot.tar.bz2) = 23841ac90b84a9042ec534d70f108a7a
+SHA256 (ghc-6.4.2-i386-unknown-freebsd5-boot.tar.bz2) = 1dd25f9c390c9fe5d6eaef1aa15eea3d07e3cd8c71714d8fc4d0ece9230176f2
+SIZE (ghc-6.4.2-i386-unknown-freebsd5-boot.tar.bz2) = 6748815
MD5 (patch-ghc-libraries_OpenAL.diff) = 327224640f535887d3b42001ad2e4f94
SHA256 (patch-ghc-libraries_OpenAL.diff) = c89c43bf74249431910cd0b47a99a8b29ff77a9a446bd19b36dadac2754e6b20
SIZE (patch-ghc-libraries_OpenAL.diff) = 683