summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix_apr-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix_apr-config.patch')
-rw-r--r--debian/patches/fix_apr-config.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/fix_apr-config.patch b/debian/patches/fix_apr-config.patch
new file mode 100644
index 0000000..9736001
--- /dev/null
+++ b/debian/patches/fix_apr-config.patch
@@ -0,0 +1,20 @@
+From: <tfheen@debian.org>
+Subject: No description.
+
+---
+ apr-config.in | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+Index: apr/apr-config.in
+===================================================================
+--- apr.orig/apr-config.in
++++ apr/apr-config.in
+@@ -39,7 +39,7 @@
+ LIBS="@EXTRA_LIBS@"
+ EXTRA_INCLUDES="@EXTRA_INCLUDES@"
+ SHLIBPATH_VAR="@shlibpath_var@"
+-APR_SOURCE_DIR="@apr_srcdir@"
++APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
+ APR_BUILD_DIR="@apr_builddir@"
+ APR_SO_EXT="@so_ext@"
+ APR_LIB_TARGET="@export_lib_target@"