Commit ba144f1c authored by Joachim Breitner's avatar Joachim Breitner

haskell-reflection: Do not depend on ghc-ghci but set the template-haskell flag accordingly.

parent a85753ac
haskell-reflection (1.5.1.2-4) UNRELEASED; urgency=medium
* Do not depend on ghc-ghci but set the template-haskell flag accordingly.
-- Joachim Breitner <nomeata@debian.org> Mon, 15 Jun 2015 09:56:23 +0200
haskell-reflection (1.5.1.2-3) unstable; urgency=medium
* Depend on ghc-ghci, as it uses Template Haskell
......
#!/usr/bin/make -f
ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=template-haskell
else
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-template-haskell
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment