[Pkg-haskell-commits] darcs: haskell-cabal-install: Add libghc-cabal-dev dependency
Sven Bartscher
sven.bartscher at weltraumschlangen.de
Sat Mar 7 21:45:50 UTC 2015
Sat Mar 7 21:43:39 UTC 2015 Sven Bartscher <sven.bartscher at weltraumschlangen.de>
* Add libghc-cabal-dev dependency
M ./control -1 +2
M ./rules +2
Sat Mar 7 21:43:39 UTC 2015 Sven Bartscher <sven.bartscher at weltraumschlangen.de>
* Add libghc-cabal-dev dependency
diff -rN -u old-haskell-cabal-install/control new-haskell-cabal-install/control
--- old-haskell-cabal-install/control 2015-03-07 21:45:50.126501278 +0000
+++ new-haskell-cabal-install/control 2015-03-07 21:45:50.134501279 +0000
@@ -37,7 +37,8 @@
Architecture: any
Depends: ${shlibs:Depends},
${haskell:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ${cabal-dep}
Recommends: ${haskell:Recommends}, ghc
Suggests: ${haskell:Suggests}
Description: command-line interface for Cabal and Hackage
diff -rN -u old-haskell-cabal-install/rules new-haskell-cabal-install/rules
--- old-haskell-cabal-install/rules 2015-03-07 21:45:50.126501278 +0000
+++ new-haskell-cabal-install/rules 2015-03-07 21:45:50.138501280 +0000
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
DEB_ENABLE_TESTS = yes
+cabal_version = $(shell dpkg-query --showformat='$${version}' --show libghc-cabal-dev)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
@@ -9,3 +10,4 @@
binary-post-install/cabal-install::
dh_bash-completion
+ echo "cabal-dep=libghc-cabal-dev (= $(cabal_version))" >> debian/cabal-install.substvars
More information about the Pkg-haskell-commits
mailing list