Navigation Menu

Skip to content

Commit

Permalink
cleaned up some FIX (HUGS)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxPolice committed Jan 9, 2006
1 parent 998a337 commit 9441738
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Distribution/Simple/Configure.hs
Expand Up @@ -351,7 +351,7 @@ findCompiler verbose flavor = do
compilerPkgToolName :: CompilerFlavor -> String
compilerPkgToolName GHC = "ghc-pkg"
compilerPkgToolName NHC = "hmake" -- FIX: nhc98-pkg Does not yet exist
compilerPkgToolName Hugs = "hugs" -- FIX (HUGS): hugs-pkg does not yet exist
compilerPkgToolName Hugs = "hugs"
compilerPkgToolName cmp = error $ "Unsupported compiler: " ++ (show cmp)

configCompilerVersion :: CompilerFlavor -> FilePath -> Int -> IO Version
Expand Down
1 change: 1 addition & 0 deletions Distribution/Simple/Install.hs
Expand Up @@ -207,6 +207,7 @@ installHugs verbose libDir installProgDir binDir targetProgDir buildPref pkg_des
("Main" : autogenModuleName pkg_descr : otherModules (buildInfo exe)) hugsInstallSuffixes True False
let targetName = "\"" ++ (targetDir `joinFileName` hugsMainFilename exe) ++ "\""
-- FIX (HUGS): use extensions, and options from file too?
-- see http://hackage.haskell.org/trac/hackage/ticket/43
let hugsOptions = hcOptions Hugs (options (buildInfo exe))
#if mingw32_HOST_OS || mingw32_TARGET_OS
let exeFile = binDir `joinFileName` exeName exe `joinFileExt` "bat"
Expand Down
1 change: 0 additions & 1 deletion Distribution/Simple/Register.hs
Expand Up @@ -177,7 +177,6 @@ register pkg_descr lbi (userInst, genScript, verbose)
pkgTool allFlags
else rawSystemExit verbose pkgTool allFlags

-- FIX (HUGS):
Hugs -> do
createDirectoryIfMissing True (hugsPackageDir pkg_descr lbi)
copyFileVerbose verbose installedPkgConfigFile
Expand Down

0 comments on commit 9441738

Please sign in to comment.