[DHG_packages] 01/01: yaml: Fix detection of TH support

Joachim Breitner nomeata at moszumanska.debian.org
Fri Sep 11 20:10:21 UTC 2015


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

nomeata pushed a commit to branch experimental
in repository DHG_packages.

commit 10d8c90726cce9026b5651938d574b80054ba4f9
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Sep 11 22:07:33 2015 +0200

    yaml: Fix detection of TH support
---
 p/haskell-yaml/debian/changelog | 6 ++++++
 p/haskell-yaml/debian/rules     | 8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/p/haskell-yaml/debian/changelog b/p/haskell-yaml/debian/changelog
index 59fba1d..d791af0 100644
--- a/p/haskell-yaml/debian/changelog
+++ b/p/haskell-yaml/debian/changelog
@@ -1,3 +1,9 @@
+haskell-yaml (0.8.12-6) experimental; urgency=medium
+
+  * Fix detection of TH support
+
+ -- Joachim Breitner <nomeata at debian.org>  Fri, 11 Sep 2015 22:07:35 +0200
+
 haskell-yaml (0.8.12-5) experimental; urgency=medium
 
   * Build-depend on test-related packages also on ppc64.
diff --git a/p/haskell-yaml/debian/rules b/p/haskell-yaml/debian/rules
index b022027..ebea585 100755
--- a/p/haskell-yaml/debian/rules
+++ b/p/haskell-yaml/debian/rules
@@ -2,7 +2,13 @@
 
 DEB_SETUP_GHC_CONFIGURE_ARGS := --flags=system-libyaml
 
-DEB_ENABLE_TESTS = $(shell test -e /usr/bin/ghci && echo yes)
+# The test suite requires template haskell
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
+DEB_ENABLE_TESTS = yes
+else
+DEB_ENABLE_TESTS = no
+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