aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-05-01 19:23:17 +0800
committervs <vs@FreeBSD.org>2006-05-01 19:23:17 +0800
commitf0874b75bf6b3dc3678b3bd94ca896a6d1c8cea9 (patch)
treef5725d7adcb601ccf9895407502a9b0f5a98d393 /lang/ghc
parentba5c8153b46375797199402158d8b3bb5d4d1072 (diff)
downloadfreebsd-ports-gnome-f0874b75bf6b3dc3678b3bd94ca896a6d1c8cea9.tar.gz
freebsd-ports-gnome-f0874b75bf6b3dc3678b3bd94ca896a6d1c8cea9.tar.zst
freebsd-ports-gnome-f0874b75bf6b3dc3678b3bd94ca896a6d1c8cea9.zip
Unbreak by disconnecting OpenAL support for now. The version in ports
seems to be different from the one GHC expects. Approved by: Haskell cabal
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 8a396f47f629..653bade60195 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -48,20 +48,27 @@ MAINTAINER= simonmar@microsoft.com
COMMENT= A Compiler for the functional language Haskell
USE_PERL5= yes
-USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITHOUT_X11)
-CONFIGURE_ARGS+=--without-x --without-x11 --without-openal --without-hgl --without-opengl --without-glut
-PLIST_SUB+= X11="@comment " OPENAL="@comment "
+CONFIGURE_ARGS+=--without-x --without-x11 --without-hgl --without-opengl --without-glut
+PLIST_SUB+= X11="@comment "
PKGNAMESUFFIX= -nox11
.else
-LIB_DEPENDS+= glut.4:${PORTSDIR}/graphics/libglut \
- openal.0:${PORTSDIR}/audio/openal
+LIB_DEPENDS+= glut.4:${PORTSDIR}/graphics/libglut
USE_GL= yes
-PLIST_SUB+= X11="" OPENAL=""
+PLIST_SUB+= X11=""
+.endif
+
+.if defined(WITH_OPENAL)
+BROKEN= Unsupported/does not build
+PLIST_SUB+= OPENAL=""
+LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
CONFIGURE_ARGS+=--enable-openal
+.else
+CONFIGURE_ARGS+=--without-openal
+PLIST_SUB+= OPENAL="@comment "
.endif
PLIST_SUB+= GHC_VERSION=${PORTVERSION}