aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-08-26 13:23:21 +0800
committerkrion <krion@FreeBSD.org>2005-08-26 13:23:21 +0800
commite64616f7fe14d29c700d6444273ced6399ba5c30 (patch)
treed94367b004dab2f412a882aa8a3e59f93431bd47 /lang/ghc
parent32fa252d106a318177c6b92fa1e4c34068bb1236 (diff)
downloadfreebsd-ports-gnome-e64616f7fe14d29c700d6444273ced6399ba5c30.tar.gz
freebsd-ports-gnome-e64616f7fe14d29c700d6444273ced6399ba5c30.tar.zst
freebsd-ports-gnome-e64616f7fe14d29c700d6444273ced6399ba5c30.zip
Fix build on 6.x
Submitted by: lesi Approved by: portmgr (self)
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 0c5c68b08ee8..d9c45226fe40 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -31,10 +31,13 @@ DISTFILES= ${SRC_DIST}
DISTFILES+= ${BOOT_DIST}
.else
DISTFILES+= ${BOOT_DIST5}
+.if ${OSVERSION} >= 600000
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+.endif
.endif
WANT_AUTOCONF_VER=259 # Need this to regenerate patched configure in GLUT
-LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \
+LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4 \
glut.3:${PORTSDIR}/graphics/libglut \
openal.0:${PORTSDIR}/audio/openal