aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-buddha
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2004-01-16 20:06:58 +0800
committerobraun <obraun@FreeBSD.org>2004-01-16 20:06:58 +0800
commit40e054b74737ccf7267833f050fa04dd8ff94578 (patch)
tree2cebeffdcc6eb71a5891c238e9731dc4e7177b7e /devel/hs-buddha
parent6cf53f56a3ec9df074c467898ad8945e2c5264f1 (diff)
downloadfreebsd-ports-gnome-40e054b74737ccf7267833f050fa04dd8ff94578.tar.gz
freebsd-ports-gnome-40e054b74737ccf7267833f050fa04dd8ff94578.tar.zst
freebsd-ports-gnome-40e054b74737ccf7267833f050fa04dd8ff94578.zip
Fix for ghc 6.2
Diffstat (limited to 'devel/hs-buddha')
-rw-r--r--devel/hs-buddha/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/hs-buddha/Makefile b/devel/hs-buddha/Makefile
index c5a9d071c331..ddd403552634 100644
--- a/devel/hs-buddha/Makefile
+++ b/devel/hs-buddha/Makefile
@@ -18,6 +18,7 @@ COMMENT= A declarative debugger for Haskell 98
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
USE_GMAKE= yes
@@ -30,6 +31,10 @@ pre-everything::
@${ECHO_CMD} "They are available, unless your GHC has been built with WITHOUT_PROFILE=yes."
@${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's/-package lang/-package lang -package text/' \
+ ${WRKSRC}/transform/Makefile.in
+
pre-build:
@(cd ${WRKSRC} && ${GMAKE} depend)