summaryrefslogtreecommitdiff
path: root/utils/runghc
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-10-06 16:06:56 +0000
committerIan Lynagh <igloo@earth.li>2010-10-06 16:06:56 +0000
commit04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc (patch)
treebbabb0fc09d196d945d1c871419018ecae711af7 /utils/runghc
parent5e54b553bbb112167412ee9164135d56b06f5721 (diff)
downloadhaskell-04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc.tar.gz
Fix build following haskell98 and -fglasgow-exts changes
Diffstat (limited to 'utils/runghc')
-rw-r--r--utils/runghc/ghc.mk5
-rw-r--r--utils/runghc/runghc.cabal.in2
2 files changed, 4 insertions, 3 deletions
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index a70e38a03b..26c3b31228 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -10,11 +10,12 @@
#
# -----------------------------------------------------------------------------
-utils/runghc_dist_MODULES = Main
-utils/runghc_dist_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\""
+utils/runghc_PACKAGE = runghc
+utils/runghc_dist_USES_CABAL = YES
utils/runghc_dist_PROG = runghc$(exeext)
utils/runghc_dist_SHELL_WRAPPER = YES
utils/runghc_dist_INSTALL_SHELL_WRAPPER = YES
+utils/runghc_dist_EXTRA_HC_OPTS = -cpp -DVERSION="\"$(ProjectVersion)\""
ifneq "$(BINDIST)" "YES"
# hack: the build system has trouble with Main modules not called Main.hs
diff --git a/utils/runghc/runghc.cabal.in b/utils/runghc/runghc.cabal.in
index 7b3fc1b13a..7dfdc97a5d 100644
--- a/utils/runghc/runghc.cabal.in
+++ b/utils/runghc/runghc.cabal.in
@@ -20,7 +20,7 @@ Executable runghc
if flag(base3)
Build-Depends: base >= 3 && < 5,
- directory >= 1 && < 1.1,
+ directory >= 1 && < 1.2,
process >= 1 && < 1.1
else
Build-Depends: base < 3