aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" \