]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Describe workaround in Debian/README.source
authorTravis Cross <tc@traviscross.com>
Sun, 23 Feb 2014 18:07:16 +0000 (18:07 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 23 Feb 2014 18:29:12 +0000 (18:29 +0000)
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

index 8b27a966e78fd3351033abefadcc0e1f9f63e150..06f53e38ed472b8ea7d8b6299c0e6fae78c503c2 100644 (file)
@@ -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 <tc@traviscross.com>, Sun, 23 Feb 2014 17:44:32 +0000
+ -- Travis Cross <tc@traviscross.com>, Sun, 23 Feb 2014 18:04:31 +0000