From 648fb2a59ec7345c36a0bdfe44a541a113c9f516 Mon Sep 17 00:00:00 2001 From: Olivier Sallou Date: Fri, 6 Jun 2014 21:11:36 +0000 Subject: [PATCH] Add patch to fix way to find configure script for Debian build --- debian/patches/fix_configure | 14 ++++++++++++++ debian/patches/series | 1 + 2 files changed, 15 insertions(+) create mode 100644 debian/patches/fix_configure diff --git a/debian/patches/fix_configure b/debian/patches/fix_configure new file mode 100644 index 00000000..c96f438e --- /dev/null +++ b/debian/patches/fix_configure @@ -0,0 +1,14 @@ +Subject: fix path for debian build +Description: Debian build is not done in configure directory, + need to update way to get relative configure.orig script +Author: Olivier Sallou +Forwarded: no +Last-Updated: 2014-06-06 +--- a/c++/configure.orig ++++ b/c++/configure.orig +@@ -1,3 +1,4 @@ + #!/bin/sh +-srcdir=`dirname $0` ++srcdir=$(readlink -f $0) ++srcdir=`dirname $srcdir` + exec $srcdir/configure.orig --without-debug --with-strip --with-openmp --with-mt --with-build-root=$srcdir/ReleaseMT ${1+"$@"} diff --git a/debian/patches/series b/debian/patches/series index 4e450034..b74b155f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -5,3 +5,4 @@ fix_lib_deps no_multiarch_rpath use_pie_for_apps skip_services_unit_test +fix_configure -- 2.30.2