aboutsummaryrefslogtreecommitdiffstats
path: root/lang/nhc98
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-28 13:32:46 +0800
committerpat <pat@FreeBSD.org>2002-07-28 13:32:46 +0800
commit4e07f4b8f85a43eb1a71b3856b6412969e1eb400 (patch)
tree8a1edef5619a916799797b8cf2279d444d3d60d5 /lang/nhc98
parent419d8be61a03d3412ddfc1c397ef242d683eb7f4 (diff)
downloadfreebsd-ports-gnome-4e07f4b8f85a43eb1a71b3856b6412969e1eb400.tar.gz
freebsd-ports-gnome-4e07f4b8f85a43eb1a71b3856b6412969e1eb400.tar.zst
freebsd-ports-gnome-4e07f4b8f85a43eb1a71b3856b6412969e1eb400.zip
Make buildable with ghc again
PR: ports/40890 Submitted by: maintainer
Diffstat (limited to 'lang/nhc98')
-rw-r--r--lang/nhc98/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
index 416f6a830860..93f3497ddbfa 100644
--- a/lang/nhc98/Makefile
+++ b/lang/nhc98/Makefile
@@ -38,6 +38,10 @@ MAN1= harch.1 hmake.1 hp2graph.1 nhc98.1
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile.inc
+.for file in Decl FillIn Process
+ @${REINPLACE_CMD} -e '/^import PrelBase/d' \
+ ${WRKSRC}/src/greencard/${file}.lhs
+.endfor
post-configure:
@${ECHO} "LIBDIR=${PREFIX}/lib/nhc98" \