[Pkg-haskell-commits] r826 - /packages/haskell-devscripts/trunk/dh_haskell

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Dec 30 18:09:29 UTC 2007


Author: arjan
Date: Sun Dec 30 18:09:29 2007
New Revision: 826

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=826
Log:
[project @ make ghc profiling packages depend on ghc6-prof]

Original author: jeremy.shaw at linspireinc.com
Date: 2006-08-11 22:06:17+00:00

Modified:
    packages/haskell-devscripts/trunk/dh_haskell

Modified: packages/haskell-devscripts/trunk/dh_haskell
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-devscripts/trunk/dh_haskell?rev=826&op=diff
==============================================================================
--- packages/haskell-devscripts/trunk/dh_haskell (original)
+++ packages/haskell-devscripts/trunk/dh_haskell Sun Dec 30 18:09:29 2007
@@ -238,6 +238,12 @@
 	    isnative($package);
 	    addsubstvar($package, "haskell:Depends",
 			dev_name($package), "= " . $dh{VERSION});
+
+	    # add depends on ghc?-prof
+	    if (($pkgtype eq "ghc5" || $pkgtype eq "ghc6")) {
+		addsubstvar($package, "haskell:Depends",
+			    $pkgtype . "-prof");
+	    }
 	}
 }
 




More information about the Pkg-haskell-commits mailing list