Remove System.FilePath, use System.Directory.Internals for now.
-optdep--exclude-module=Distribution.ParseUtils \
-optdep--exclude-module=Distribution.Setup \
-optdep--exclude-module=Distribution.Version \
- -optdep--exclude-module=System.FilePath
+ -optdep--exclude-module=System.Directory.Internals
endif
SRC_LD_OPTS += -no-link-chk
#endif
import System.Environment (getEnv)
-import System.FilePath
+import System.Directory.Internals
#if __GLASGOW_HASKELL__ > 600
import Control.Exception ( bracket )
import Control.Monad ( when )
ifeq "$(ghc_603_plus)" "YES"
# These modules are all provided in GHC 6.3+
EXCLUDED_SRCS += \
- System/FilePath.hs \
+ System/Directory/Internals.hs \
Distribution/Compat/ReadP.hs \
Distribution/Extension.hs \
Distribution/GetOpt.hs \
endif
# Some explicit dependencies
-System/FilePath.$(way_)o : $(FPTOOLS_TOP)/libraries/base/System/FilePath.hs
+System/Directory/Internals.$(way_)o : $(FPTOOLS_TOP)/libraries/base/System/Directory/Internals.hs
Distribution/Compat/ReadP.$(way_) : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Compat/ReadP.hs
Distribution/Extension.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/Extension.hs
Distribution/GetOpt.$(way_)o : $(FPTOOLS_TOP)/libraries/Cabal/Distribution/GetOpt.hs
--- /dev/null
+{-# OPTIONS -cpp #-}
+#include "base/System/Directory/Internals.hs"
+-- dummy comment
+++ /dev/null
-{-# OPTIONS -cpp #-}
-#include "base/System/FilePath.hs"
-
--- dummy comment
-optdep--exclude-module=Distribution.ParseUtils \
-optdep--exclude-module=Distribution.Setup \
-optdep--exclude-module=Distribution.Version \
- -optdep--exclude-module=System.FilePath
+ -optdep--exclude-module=System.Directory.Internals
# -----------------------------------------------------------------------------=
# Create the Version.hs file