[Pkg-haskell-commits] [SCM] D-Bus activity visualiser branch, master, updated. debian/0.4.2-1
Iain Lane
iain.lane at canonical.com
Mon Nov 19 11:25:30 UTC 2012
The following commit has been merged in the master branch:
commit ffc40ed6efd82dc9864ad54d44adaffb75bde084
Author: Iain Lane <iain.lane at canonical.com>
Date: Mon Nov 19 10:58:37 2012 +0000
d/rules: Pass -threaded if we don't have the threaded runtime available
diff --git a/debian/rules b/debian/rules
index 9d8882d..b2d2248 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
#!/usr/bin/make -f
# export DH_VERBOSE=1
+#
+
+THREADED := $(if $(wildcard /usr/lib/*/libHSrts_thr.a),,-f-threaded)
%:
dh $@
@@ -11,7 +14,7 @@ clean:
override_dh_auto_configure:
ghc -package Cabal Setup.hs -o setup
- ./setup configure --prefix /usr
+ ./setup configure --prefix /usr $(THREADED)
override_dh_auto_build:
$(MAKE)
--
D-Bus activity visualiser
More information about the Pkg-haskell-commits
mailing list