summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-08-26 21:11:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-08-26 21:11:38 +0000
commit8d3f75f3bbfa7868ca5e8e6bb6fff2c4ddd55528 (patch)
tree3745aa8e858148bab8fb76d29fe0f99d918d2ca5 /lang
parentFix a use-after-free in the cursor code that's easily triggered with -AJ malloc (diff)
Fix build on 6.x
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=140984
Diffstat (limited to 'lang')
-rw-r--r--lang/ghc5/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/ghc5/Makefile b/lang/ghc5/Makefile
index 1948b838b23c..6e6d99a85aaa 100644
--- a/lang/ghc5/Makefile
+++ b/lang/ghc5/Makefile
@@ -31,9 +31,13 @@ DISTFILES= ${SRC_DIST}
.if ${OSVERSION} < 500000
DISTFILES+= ${BOOT_DIST}
-.else
+.elif ${OSVERSION} > 600000
+BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libreadline.so.5:${PORTSDIR}/misc/compat5x
+BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libreadline.so.4:${PORTSDIR}/misc/compat4x
DISTFILES+= ${BOOT_DIST5}
+.else
BUILD_DEPENDS+= ${LOCALBASE}/lib/compat/libreadline.so.4:${PORTSDIR}/misc/compat4x
+DISTFILES+= ${BOOT_DIST5}
.endif
WRKSRC= ${WRKDIR}/ghc-${PORTVERSION}