commit 8135de9a75ef132702b97839889ac77bd019c87b Author: Nicolas Vigier boklm@torproject.org Date: Thu Oct 15 20:00:10 2015 +0200
libotr: build from a non-random directory --- projects/libotr/build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/projects/libotr/build b/projects/libotr/build index ecd94ee..3aa8443 100755 --- a/projects/libotr/build +++ b/projects/libotr/build @@ -10,9 +10,10 @@ tar xf $rootdir/[% c('input_files_by_name/libgcrypt') %] export PATH="/var/tmp/dist/libgcrypt/bin:$PATH" cd $rootdir distdir=/var/tmp/dist/[% project %] -tar xf libotr-[% c('version') %].tar.gz -cd libotr-[% c('version') %] -patch -p1 < ../bugs-otr-im-72.patch +mkdir -p /var/tmp/build +tar -C /var/tmp/build -xf libotr-[% c('version') %].tar.gz +cd /var/tmp/build/libotr-[% c('version') %] +patch -p1 < $rootdir/bugs-otr-im-72.patch ./configure --prefix=$distdir [% c("var/configure_opt") %] make -j4 [% IF c("var/windows") %]LDFLAGS='-no-undefined -lssp'[% END %] make prefix=$distdir install
tor-commits@lists.torproject.org