summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-08-26 05:23:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-08-26 05:23:21 +0000
commit564a8c901a83b35c66767545c351afc0565dd360 (patch)
treeffc97a0182061a317cf94996515126258455bda3 /lang
parentThis package allows you to install the compat5x libraries on your (diff)
Fix build on 6.x
Submitted by: lesi Approved by: portmgr (self)
Diffstat (limited to 'lang')
-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