From 24179a4d7fa0e96b5b9103c69b9eb7fe07ae1107 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sun, 23 Feb 2014 18:07:16 +0000 Subject: [PATCH] Describe workaround in Debian/README.source Pre-jessie versions of Debian's mk-build-deps tool rely on libraries that do not correctly parse debian/control, so we have to clip it down to a smaller subset of the format to build on e.g. wheezy. --- debian/README.source | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/README.source b/debian/README.source index 8b27a966e7..06f53e38ed 100644 --- a/debian/README.source +++ b/debian/README.source @@ -43,6 +43,7 @@ dependencies are required to build FS. Build as follows: aptitude update && aptitude install -y devscripts equivs build-essential my_release=$(awk '/deb .*\/debian/{print $3; exit}' /etc/apt/sources.list) (cd debian && ./bootstrap.sh -c $my_release) + sed -i debian/control -e '/^#/d' && sed -i debian/control -e '/^$/N;/^\n$/D' mk-build-deps -i make -f debian/rules .stamp-configure && make @@ -168,4 +169,4 @@ freeswitch-music-*: git clone https://github.com/traviscross/freeswitch-sounds.git cd freeswitch-sounds && cat debian/README.source - -- Travis Cross , Sun, 23 Feb 2014 17:44:32 +0000 + -- Travis Cross , Sun, 23 Feb 2014 18:04:31 +0000