[Pkg-haskell-commits] darcs: haskell-devscripts: Explicitly mention which Prelude to use in dh_haskell_shlibdeps, thanks to Clifford Beshers for the patch.
Joachim Breitner
mail at joachim-breitner.de
Sun Jan 27 19:19:34 UTC 2013
Sun Jan 27 18:36:31 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Explicitly mention which Prelude to use in dh_haskell_shlibdeps, thanks to Clifford Beshers for the patch.
Ignore-this: 8d0b1aaa015b4749e8899d5c4f2888d3
M ./debian/changelog +7
M ./dh_haskell_shlibdeps -1 +5
Sun Jan 27 18:36:31 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Explicitly mention which Prelude to use in dh_haskell_shlibdeps, thanks to Clifford Beshers for the patch.
Ignore-this: 8d0b1aaa015b4749e8899d5c4f2888d3
diff -rN -u old-haskell-devscripts//debian/changelog new-haskell-devscripts//debian/changelog
--- old-haskell-devscripts//debian/changelog 2013-01-27 19:19:34.095719694 +0000
+++ new-haskell-devscripts//debian/changelog 2013-01-27 19:19:34.107720452 +0000
@@ -1,3 +1,10 @@
+haskell-devscripts (0.8.14) UNRELEASED; urgency=low
+
+ * Explicitly mention which Prelude to use in dh_haskell_shlibdeps, thanks to
+ Clifford Beshers for the patch.
+
+ -- Joachim Breitner <nomeata at debian.org> Sun, 27 Jan 2013 19:35:58 +0100
+
haskell-devscripts (0.8.13) experimental; urgency=low
[ Joachim Breitner ]
diff -rN -u old-haskell-devscripts//dh_haskell_shlibdeps new-haskell-devscripts//dh_haskell_shlibdeps
--- old-haskell-devscripts//dh_haskell_shlibdeps 2013-01-27 19:19:34.079720689 +0000
+++ new-haskell-devscripts//dh_haskell_shlibdeps 2013-01-27 19:19:34.143722305 +0000
@@ -65,7 +65,11 @@
sfile=debian/$pkg.substvars
pkgname=`basename debian/$pkg/usr/lib/haskell-packages/ghc/lib/* | sed -e 's/-[^-]\+$//'`
touch $sfile
- echo "module Main where main = return ()" > $T_DIR/a.hs
+ echo "{-# LANGUAGE NoImplicitPrelude #-}" >$T_DIR/a.hs
+ echo "{-# LANGUAGE PackageImports #-}" >>$T_DIR/a.hs
+ echo "module Main where" >> $T_DIR/a.hs
+ echo "import \"base\" Prelude" >> $T_DIR/a.hs
+ echo "main = return ()" >> $T_DIR/a.hs
ghc --make $T_DIR/a.hs -o $T_DIR/a.out -package-conf \
$T_DIR/package.conf -package $pkgname
dpkg-shlibdeps -Tdebian/$pkg.substvars $T_DIR/a.out
More information about the Pkg-haskell-commits
mailing list