[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building ghc-7.0.4-1 under Ubuntu Natty



I had to allow libgmp3-dev to substitute for liibgmp-dev to get a
build under ubuntu natty.  Patch attached.

-david
--- ghc/debian/control.orig	2011-07-12 22:47:20.821231120 -0700
+++ ghc/debian/control	2011-07-12 22:47:37.661855691 -0700
@@ -6,7 +6,7 @@
 Standards-Version: 3.9.1
 Build-Depends:
   debhelper (>= 7),
-  libgmp-dev,
+  libgmp-dev | libgmp3-dev,
   devscripts,
   ghc,
   grep-dctrl,
@@ -25,7 +25,7 @@
 
 Package: ghc
 Architecture: any
-Depends: gcc (>= 4:4.2), libgmp-dev, libffi-dev, libbsd-dev, libc6-dev, ${shlibs:Depends}, ${misc:Depends}
+Depends: gcc (>= 4:4.2), libgmp-dev | libgmp3-dev, libffi-dev, libbsd-dev, libc6-dev, ${shlibs:Depends}, ${misc:Depends}
 Provides: haskell-compiler, ${provided-devs}, ${haskell:Provides}, ${ghci}
 Replaces: ghc6 (<< 7)
 Conflicts: ghc6 (<< 7)

Reply to: