[Pkg-haskell-commits] darcs: gitit: Disable plugin support if GHCi is not available.
Colin Watson
cjwatson at debian.org
Mon Apr 15 10:21:59 UTC 2013
Mon Apr 15 10:21:15 UTC 2013 Colin Watson <cjwatson at debian.org>
* Disable plugin support if GHCi is not available.
Ignore-this: ea81da642415064189ad6b709c526647
M ./changelog -1 +1
M ./control -1
M ./rules +4
Mon Apr 15 10:21:15 UTC 2013 Colin Watson <cjwatson at debian.org>
* Disable plugin support if GHCi is not available.
Ignore-this: ea81da642415064189ad6b709c526647
diff -rN -u old-gitit//changelog new-gitit//changelog
--- old-gitit//changelog 2013-04-15 10:21:59.307128018 +0000
+++ new-gitit//changelog 2013-04-15 10:21:59.307128018 +0000
@@ -1,6 +1,6 @@
gitit (0.10.3.1-2) UNRELEASED; urgency=low
- * Build-depend on ghc-ghci, for parseImportDecl.
+ * Disable plugin support if GHCi is not available.
-- Colin Watson <cjwatson at debian.org> Fri, 12 Apr 2013 14:38:00 +0100
diff -rN -u old-gitit//control new-gitit//control
--- old-gitit//control 2013-04-15 10:21:59.307128018 +0000
+++ new-gitit//control 2013-04-15 10:21:59.311021777 +0000
@@ -8,7 +8,6 @@
haskell-devscripts (>= 0.8.13),
cdbs,
ghc,
- ghc-ghci,
pandoc (>= 1.9.0.5),
xsltproc,
docbook-xsl
diff -rN -u old-gitit//rules new-gitit//rules
--- old-gitit//rules 2013-04-15 10:21:59.298311240 +0000
+++ new-gitit//rules 2013-04-15 10:21:59.315023079 +0000
@@ -11,6 +11,10 @@
DEB_GHC_EXTRA_PACKAGES := gitit (>= $(CABAL_VERSION))
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*NO' >/dev/null 2>&1; echo $?))
+DEB_SETUP_GHC_CONFIGURE_ARGS := --flags=-plugins
+endif
+
%.1: debian/%.xml
$(XP) $(DB2MAN) $<
More information about the Pkg-haskell-commits
mailing list