From ed0ea3133b14d84cede60d8706e925f03db9da53 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 21 Apr 2016 22:52:18 -0400 Subject: Build fixes for Debian Jessie. --- clean-dep.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 clean-dep.sh (limited to 'clean-dep.sh') diff --git a/clean-dep.sh b/clean-dep.sh new file mode 100644 index 0000000..2a1bfe2 --- /dev/null +++ b/clean-dep.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# Clean up generated debian/control file for jessie build. + +mv debian/control debian/control.bad + +grep -v -- '-cryptonite-\|-hourglass-\|-memory-' debian/control.bad | sed '/-x509-/{ s/1.6/1.4/; }' > debian/control + +# dpkg-checkbuilddeps: Unmet build dependencies: libghc-cryptonite-dev libghc-cryptonite-prof libghc-hourglass-dev libghc-hourglass-prof libghc-memory-dev libghc-memory-prof libghc-x509-dev (>= 1.6) libghc-x509-prof (>= 1.6) libghc-cryptonite-doc libghc-hourglass-doc libghc-memory-doc libghc-x509-doc (>= 1.6) -- cgit v1.2.3