[Pkg-haskell-maintainers] Bug#578043: Bug#578043: mozembed component not packaged
Marco Túlio Gontijo e Silva
marcot at debian.org
Fri Apr 16 18:28:08 UTC 2010
Hallo Joachim.
Excerpts from Joachim Breitner's message of Sex Abr 16 09:47:29 -0300 2010:
(...)
> 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?
No, it seems to be very straightforward to me. Feel free to apply it.
Greetings.
(...)
--
marcot
http://wiki.debian.org/MarcoSilva
More information about the Pkg-haskell-maintainers
mailing list