Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adapt haskell::ghc_source for 12.04

  • Loading branch information...
commit c257b43f07afb7e6e2da14d6746d0689e72785ef 1 parent 3f0d12c
@michaelklishin michaelklishin authored
Showing with 14 additions and 3 deletions.
  1. +14 −3 ci_environment/haskell/recipes/ghc_source.rb
View
17 ci_environment/haskell/recipes/ghc_source.rb
@@ -27,10 +27,21 @@
end
end
-link "/usr/lib/libgmp.so.3" do
- to "/usr/lib/libgmp.so"
+case [node.platform, node.platform_version]
+when ["ubuntu", "11.10"] then
+ link "/usr/lib/libgmp.so.3" do
+ to "/usr/lib/libgmp.so"
- not_if "test -L /usr/lib/libgmp.so.3"
+ not_if "test -L /usr/lib/libgmp.so.3"
+ end
+when ["ubuntu", "12.04"] then
+ package "libgmp3c2"
+
+ link "/usr/lib/libgmp.so.3" do
+ to "/usr/lib/libgmp.so.3.5.2"
+
+ not_if "test -L /usr/lib/libgmp.so.3"
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.