aboutsummaryrefslogtreecommitdiffstats
path: root/lang/hugs/Makefile
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-12 00:05:11 +0800
committervs <vs@FreeBSD.org>2005-04-12 00:05:11 +0800
commitf54bdafba17d84eb008366cde57762fe820864b4 (patch)
tree4e25909b00ff2e1b6f0f1bcc97a6e89dfb543383 /lang/hugs/Makefile
parente8837a97f45b5a0d8a51994b17895656a7e4966e (diff)
downloadfreebsd-ports-gnome-f54bdafba17d84eb008366cde57762fe820864b4.tar.gz
freebsd-ports-gnome-f54bdafba17d84eb008366cde57762fe820864b4.tar.zst
freebsd-ports-gnome-f54bdafba17d84eb008366cde57762fe820864b4.zip
Unbreak: I couldn't find a sane way of disabling X11-detection if it's not
desired but already installed, so make X11 mandatory for the time being. Our CONFIGURE-handling is broken atm, too :/ Noticed by: krisbot
Diffstat (limited to 'lang/hugs/Makefile')
-rw-r--r--lang/hugs/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile
index a5f38731f8c9..52ae2c98a7c8 100644
--- a/lang/hugs/Makefile
+++ b/lang/hugs/Makefile
@@ -14,23 +14,25 @@ DISTNAME= ${PORTNAME}-${HUGS_DATE}
MAINTAINER= haskell@FreeBSD.org
COMMENT= An interpreter for the functional programming language Haskell 98
-BROKEN= Incorrect pkg-plist
-
WRKSRC= ${WRKDIR}/${DISTNAME}
-OPTIONS= HUGS_OPENGL "OpenGL/GLUT support" off
+#OPTIONS= HUGS_OPENGL "OpenGL/GLUT support" off
+WITH_HUGS_OPENGL= yes
HUGS_DATE= Mar2005
USE_REINPLACE= yes
USE_BISON= yes
USE_GMAKE= yes
-CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
-CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}"
+#CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-ffi
+#CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}"
.include <bsd.port.pre.mk>
.if defined(WITH_HUGS_OPENGL)
-CONFIGURE_ARGS+= --enable-hopengl
+#CONFIGURE_ARGS+= --enable-hopengl
USE_GL= yes
+PLIST_SUB+= X11=""
+.else
+PLIST_SUB+= X11="@comment "
.endif
MAN1= hugs.1