Hi,

Am Freitag, den 16.04.2010, 12:59 +0200 schrieb Joachim Breitner:
> well, it builds, but has problems linking. Will investigate some more.

seems that there is a bug in dh_haskell_shlibs: It changes the paths in
the package file to refer to the uninstalled package in
debian/<pkgname>, but it changes too much.

With this change, libghc6-mozembed-dev builds:

--- /usr/bin/dh_haskell_shlibdeps       2010-02-17 16:37:13.000000000 +0100
+++ /home/jojo/.bin/dh_haskell_shlibdeps        2010-04-16 14:44:57.000000000 
+0200
@@ -53,7 +53,7 @@
     pkgconflocal=$T_DIR/$pkg.package.conf
     cat $file | sed -e \
         "/^\(import\|library\|include\)-dirs: / { \
-        s#/usr#$PWD/debian/libghc6-$pkg-dev/usr#g }" \
+        
s#/usr/lib/haskell-packages#$PWD/debian/libghc6-$pkg-dev/usr/lib/haskell-packages#g
 }" \
         > $pkgconflocal
     ghc-pkg -f $T_DIR/package.conf register $pkgconflocal --force \
         2>&1 > /dev/null || true

Marco, do you seen any problem with this change?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nome...@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nome...@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to