[DHG_packages] 01/01: monad-logger: Enable template haskell code only conditionally, to allow building this (and hence persistent and hence git-annex) on mips/mipsel.

Joachim Breitner nomeata at moszumanska.debian.org
Thu Jul 23 07:28:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository DHG_packages.

commit 6c691694a60744073da8cee7898293d103865316
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Jul 23 09:25:01 2015 +0200

    monad-logger: Enable template haskell code only conditionally, to allow building this (and hence persistent and hence git-annex) on mips/mipsel.
---
 p/haskell-monad-logger/debian/changelog | 7 +++++++
 p/haskell-monad-logger/debian/control   | 1 -
 p/haskell-monad-logger/debian/rules     | 7 +++++++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/p/haskell-monad-logger/debian/changelog b/p/haskell-monad-logger/debian/changelog
index 4e7c750..4903554 100644
--- a/p/haskell-monad-logger/debian/changelog
+++ b/p/haskell-monad-logger/debian/changelog
@@ -1,3 +1,10 @@
+haskell-monad-logger (0.3.13.2-2) unstable; urgency=medium
+
+  * Enable template haskell code only conditionally, to allow building this
+    (and hence persistent and hence git-annex) on mips/mipsel.
+
+ -- Joachim Breitner <nomeata at debian.org>  Thu, 23 Jul 2015 09:24:54 +0200
+
 haskell-monad-logger (0.3.13.2-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/p/haskell-monad-logger/debian/control b/p/haskell-monad-logger/debian/control
index ffd6a4c..12c2d31 100644
--- a/p/haskell-monad-logger/debian/control
+++ b/p/haskell-monad-logger/debian/control
@@ -34,7 +34,6 @@ Build-Depends: debhelper (>= 9)
  , libghc-resourcet-dev (>= 0.4)
  , libghc-resourcet-dev (<< 1.2)
  , libghc-resourcet-prof
- , ghc-ghci
  , libghc-stm-dev
  , libghc-stm-prof
  , libghc-stm-chans-dev
diff --git a/p/haskell-monad-logger/debian/rules b/p/haskell-monad-logger/debian/rules
index 683e77b..92cf422 100755
--- a/p/haskell-monad-logger/debian/rules
+++ b/p/haskell-monad-logger/debian/rules
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+ifeq (0,$(shell ghc --info | grep -q 'Have interpreter.*YES'; echo $$?))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=template_haskell
+else
+DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-template_haskell
+endif
+
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list