Add patch to fix way to find configure script for Debian build
authorOlivier Sallou <osallou@debian.org>
Fri, 6 Jun 2014 21:11:36 +0000 (21:11 +0000)
committerOlivier Sallou <osallou@debian.org>
Fri, 6 Jun 2014 21:11:36 +0000 (21:11 +0000)
debian/patches/fix_configure [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix_configure b/debian/patches/fix_configure
new file mode 100644 (file)
index 0000000..c96f438
--- /dev/null
@@ -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 <osallou@debian.org>
+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+"$@"}
index 4e45003426eb3aa1186b1945ab1ee574c5f63d9f..b74b155f2e4ee27dfe7d00e064f992842db22977 100644 (file)
@@ -5,3 +5,4 @@ fix_lib_deps
 no_multiarch_rpath
 use_pie_for_apps
 skip_services_unit_test
+fix_configure