From: Travis Cross Date: Sun, 23 Feb 2014 18:07:16 +0000 (+0000) Subject: Describe workaround in Debian/README.source X-Git-Tag: v1.2.23~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=619dec2be2fbaf8eb147cd39a32f5712a15da084;p=thirdparty%2Ffreeswitch.git 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. --- 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