[Pkg-haskell-commits] darcs: haskell-quickcheck: Using Template Haskell only on archtectures that support it.
Giovanni Mascellani
gio at debian.org
Tue May 3 17:56:17 UTC 2011
Tue May 3 17:38:34 UTC 2011 Giovanni Mascellani <gio at debian.org>
* Using Template Haskell only on archtectures that support it.
Ignore-this: 87f0b43b1c2b1992da25c90233405a8d
M ./changelog -1 +2
M ./control -1 +1
M ./rules +5
Tue May 3 17:38:34 UTC 2011 Giovanni Mascellani <gio at debian.org>
* Using Template Haskell only on archtectures that support it.
Ignore-this: 87f0b43b1c2b1992da25c90233405a8d
diff -rN -u old-haskell-quickcheck/changelog new-haskell-quickcheck/changelog
--- old-haskell-quickcheck/changelog 2011-05-03 17:56:16.728828182 +0000
+++ new-haskell-quickcheck/changelog 2011-05-03 17:56:16.732828393 +0000
@@ -1,8 +1,9 @@
haskell-quickcheck (2.4.1.1-1) UNRELEASED; urgency=low
* New upstream release
+ * Using Template Haskell only on archtectures that support it.
- -- Giovanni Mascellani <gio at debian.org> Sun, 01 May 2011 13:20:23 +0200
+ -- Giovanni Mascellani <gio at debian.org> Tue, 03 May 2011 19:37:58 +0200
haskell-quickcheck (2.4.0.1-2) unstable; urgency=low
diff -rN -u old-haskell-quickcheck/control new-haskell-quickcheck/control
--- old-haskell-quickcheck/control 2011-05-03 17:56:16.728828182 +0000
+++ new-haskell-quickcheck/control 2011-05-03 17:56:16.732828393 +0000
@@ -8,7 +8,7 @@
ghc (>= 6.10.4),
ghc-prof,
ghc-doc,
- ghc-ghci,
+ ghc-ghci [any-i386 any-amd64],
haskell-devscripts (>= 0.8),
cdbs,
libghc-mtl-dev (>= 1.1.0.2-7),
diff -rN -u old-haskell-quickcheck/rules new-haskell-quickcheck/rules
--- old-haskell-quickcheck/rules 2011-05-03 17:56:16.728828182 +0000
+++ new-haskell-quickcheck/rules 2011-05-03 17:56:16.732828393 +0000
@@ -2,5 +2,10 @@
DEB_CABAL_PACKAGE = quickcheck2
+# Disable templateHaskell on architecture that doesn't support it
+ifeq (,$(findstring $(DEB_HOST_ARCH),i386 amd64 kfreebsd-i386 kfreebsd-amd64))
+ DEB_SETUP_GHC6_CONFIGURE_ARGS = --flags=-templateHaskell
+endif
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
More information about the Pkg-haskell-commits
mailing list