[Pkg-haskell-commits] darcs: haskell-hsh: Add threaded flag to cabal file and implement logic in debian/rules to detect whether a threaded runtime is available at build time. (Closes: #542842)

Joachim Breitner nomeata at debian.org
Fri Jan 4 14:50:32 UTC 2013


Fri May  7 17:35:18 UTC 2010  Joachim Breitner <nomeata at debian.org>
  * Add threaded flag to cabal file and implement logic in debian/rules to detect whether a threaded runtime is available at build time. (Closes: #542842)
  Ignore-this: 48c873957aaafe8bc88aa0fde80c9bb1

    M ./changelog +8
    M ./rules +3

Fri May  7 17:35:18 UTC 2010  Joachim Breitner <nomeata at debian.org>
  * Add threaded flag to cabal file and implement logic in debian/rules to detect whether a threaded runtime is available at build time. (Closes: #542842)
  Ignore-this: 48c873957aaafe8bc88aa0fde80c9bb1
diff -rN -u old-haskell-hsh//changelog new-haskell-hsh//changelog
--- old-haskell-hsh//changelog	2013-01-04 14:50:32.310271952 +0000
+++ new-haskell-hsh//changelog	2013-01-04 14:50:32.470366056 +0000
@@ -1,3 +1,11 @@
+haskell-hsh (2.0.3-3) UNRELEASED; urgency=low
+
+  * Add threaded flag to cabal file and implement logic in debian/rules to
+    detect whether a threaded runtime is available at build time. (Closes:
+    #542842)
+
+ -- Joachim Breitner <nomeata at debian.org>  Fri, 07 May 2010 19:34:25 +0200
+
 haskell-hsh (2.0.3-2) unstable; urgency=low
 
   [ Erik de Castro Lopo ]
diff -rN -u old-haskell-hsh//rules new-haskell-hsh//rules
--- old-haskell-hsh//rules	2013-01-04 14:50:32.306717809 +0000
+++ new-haskell-hsh//rules	2013-01-04 14:50:32.326720442 +0000
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+# If no threaded RTS is found, disable it
+DEB_SETUP_GHC6_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc-$(GHC6_VERSION)/libHSrts_thr.a || echo --flags=-threaded)
+
 # Standard way of building Haskell libraries .
 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