[commit: ghc] master: Fix build on Windows: We don't build terminfo on Windows (137b229)

Ian Lynagh igloo at earth.li
Sat Feb 16 23:04:43 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/137b229bc17b1c8d94d693a710121cfe9d516191

>---------------------------------------------------------------

commit 137b229bc17b1c8d94d693a710121cfe9d516191
Author: Ian Lynagh <igloo at earth.li>
Date:   Sat Feb 16 18:07:47 2013 +0000

    Fix build on Windows: We don't build terminfo on Windows

>---------------------------------------------------------------

 ghc.mk |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index c354632..94d98ab 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -355,7 +355,10 @@ PKGS_THAT_USE_TH := $(PKGS_THAT_ARE_DPH)
 #
 # We assume that the stage0 compiler has a suitable bytestring package,
 # so we don't have to include it below.
-PKGS_THAT_BUILD_WITH_STAGE0 = Cabal/Cabal hpc binary bin-package-db hoopl transformers terminfo
+PKGS_THAT_BUILD_WITH_STAGE0 = Cabal/Cabal hpc binary bin-package-db hoopl transformers
+ifeq "$(Windows)" "NO"
+PKGS_THAT_BUILD_WITH_STAGE0 += terminfo
+endif
 
 # $(EXTRA_PACKAGES)  is another classification, of packages built but
 #                    not installed





More information about the ghc-commits mailing list