summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-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)