summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-28 05:32:46 +0000
committerpat <pat@FreeBSD.org>2002-07-28 05:32:46 +0000
commit4e07f4b8f85a43eb1a71b3856b6412969e1eb400 (patch)
tree8a1edef5619a916799797b8cf2279d444d3d60d5
parent419d8be61a03d3412ddfc1c397ef242d683eb7f4 (diff)
downloadFreeBSD-ports-4e07f4b8f85a43eb1a71b3856b6412969e1eb400.zip
FreeBSD-ports-4e07f4b8f85a43eb1a71b3856b6412969e1eb400.tar.gz
Make buildable with ghc again
PR: ports/40890 Submitted by: maintainer
-rw-r--r--lang/nhc98/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
index 416f6a8..93f3497 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" \
OpenPOWER on IntegriCloud