[DHG_packages] 02/02: sandi: Fix detection of TH support
Joachim Breitner
nomeata at moszumanska.debian.org
Fri Sep 11 19:56:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to annotated tag haskell-sandi_v0.3.5-4
in repository DHG_packages.
commit a2834cf9f70889500063e67654b6c91b750a7e25
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Fri Sep 11 21:52:50 2015 +0200
sandi: Fix detection of TH support
---
p/haskell-sandi/debian/changelog | 6 ++++++
p/haskell-sandi/debian/rules | 9 +++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/p/haskell-sandi/debian/changelog b/p/haskell-sandi/debian/changelog
index c326083..9fa773d 100644
--- a/p/haskell-sandi/debian/changelog
+++ b/p/haskell-sandi/debian/changelog
@@ -1,3 +1,9 @@
+haskell-sandi (0.3.5-4) experimental; urgency=medium
+
+ * Fix detection of TH support
+
+ -- Joachim Breitner <nomeata at debian.org> Fri, 11 Sep 2015 21:52:46 +0200
+
haskell-sandi (0.3.5-3) experimental; urgency=medium
* Depend on haskell-devscripts >= 0.10 to ensure that this package
diff --git a/p/haskell-sandi/debian/rules b/p/haskell-sandi/debian/rules
index 59c7bdc..32a5597 100755
--- a/p/haskell-sandi/debian/rules
+++ b/p/haskell-sandi/debian/rules
@@ -1,7 +1,12 @@
#!/usr/bin/make -f
-DEB_ENABLE_TESTS := $(shell test -x /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
+
-# Standard way of building Haskell libraries .
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