Permalink
Browse files

Add id to packagemaker command; add macosx_version_min to ld_options …

…for package configure
  • Loading branch information...
1 parent 5fd3cbd commit 0ef63ba2364ff549687ed3127727214442935779 @gregorycollins committed Jul 21, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 Program/MakePackage.hs
View
@@ -118,7 +118,8 @@ makeMacPkg opts tmpdir pkgDesc = do
--------------------------------------------------------------------
-- uses cabal to build the package into the work area
buildPackageContents = do
- runSetup "configure" ["--global", "--prefix="++prefix, "-p"]
+ runSetup "configure" [ "--global", "--prefix="++prefix, "-p"
+ , "--ld-options=-macosx_version_min 10.5" ]
runSetup "build" []
runSetup "haddock" ["--hyperlink-source"]
runSetup "copy" ["--destdir=" ++ contentsDir]
@@ -178,6 +179,8 @@ makeMacPkg opts tmpdir pkgDesc = do
, outputPackagePath
, "--root"
, contentsDir
+ , "--id"
+ , ("haskell." ++ pkgTitle)
, "--scripts"
, scriptsDir
, "--target"

0 comments on commit 0ef63ba

Please sign in to comment.