summaryrefslogtreecommitdiffstats
path: root/debian/patches/configure_in_remove_syspaths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/configure_in_remove_syspaths.patch')
-rw-r--r--debian/patches/configure_in_remove_syspaths.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/configure_in_remove_syspaths.patch b/debian/patches/configure_in_remove_syspaths.patch
new file mode 100644
index 0000000..9df3437
--- /dev/null
+++ b/debian/patches/configure_in_remove_syspaths.patch
@@ -0,0 +1,20 @@
+From: Tollef Fog Heen <tfheen@debian.org>
+Subject: Adjust LDFLAGS and INCLUDE
+
+
+---
+ configure.in | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- apr-util.orig/configure.in
++++ apr-util/configure.in
+@@ -280,6 +280,9 @@ dnl Prep all the flags and stuff for com
+ dnl
+ APR_ADDTO(APRUTIL_LIBS, [$APR_LIBS])
+
++APR_REMOVEFROM(APRUTIL_LDFLAGS, [-L/usr/lib])
++APR_REMOVEFROM(APRUTIL_INCLUDE, [-I/usr/include])
++
+ AC_SUBST(APRUTIL_EXPORT_LIBS)
+ AC_SUBST(APRUTIL_PRIV_INCLUDES)
+ AC_SUBST(APRUTIL_INCLUDES)