diff options
author | Ian Lynagh <igloo@earth.li> | 2010-10-06 16:06:56 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-10-06 16:06:56 +0000 |
commit | 04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc (patch) | |
tree | bbabb0fc09d196d945d1c871419018ecae711af7 /utils/runghc | |
parent | 5e54b553bbb112167412ee9164135d56b06f5721 (diff) | |
download | haskell-04d3b8d7ad637c6e5b8b8004a0555c4f1ead83dc.tar.gz |
Fix build following haskell98 and -fglasgow-exts changes
Diffstat (limited to 'utils/runghc')
-rw-r--r-- | utils/runghc/ghc.mk | 5 | ||||
-rw-r--r-- | utils/runghc/runghc.cabal.in | 2 |
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 |