summaryrefslogtreecommitdiff
path: root/lang/nhc98
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-28 05:32:46 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-28 05:32:46 +0000
commit0660c879c3f891120be052bfafcf08947b8be158 (patch)
tree804679bcf8e706eb9e213da43025440c65455f89 /lang/nhc98
parentUSE_BISON (diff)
Make buildable with ghc again
PR: ports/40890 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=63649
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" \