Adding a profiling library just requires adding one to the control file; dh_haskell takes care of the rest. Here is a patch to do that.
diff -ur hdbc-1.1.5.0~/debian/control hdbc-1.1.5.0/debian/control --- hdbc-1.1.5.0~/debian/control 2008-03-04 02:39:15.000000000 +0000 +++ hdbc-1.1.5.0/debian/control 2008-10-03 18:47:02.000000000 +0100 @@ -23,6 +23,15 @@ To use HDBC, you'll need both this package, and a driver package such as libghc6-hdbc-postgresql-dev. +Package: libghc6-hdbc-prof +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libghc6-hdbc-dev, ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+) +Description: Haskell Database Connectivity, GHC6 profiling data + HDBC provides an abstraction layer between Haskell programs and SQL + relational databases. This package provides profiling information for using + HDBC with GHC6. + Package: libhugs-hdbc Section: libs Architecture: all -- Dafydd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]