summaryrefslogtreecommitdiffstats
path: root/abs/core/apr/fix_apr-config.patch
blob: 51b4aa30177cc66374ec5dc8d87f565c22e7a497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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@"
@@ -223,11 +223,7 @@
     exit 0
     ;;
     --apr-libtool)
-    if test "$location" = "installed"; then
-        echo "${installbuilddir}/libtool"
-    else
-        echo "$APR_BUILD_DIR/libtool"
-    fi
+        echo "$installbuilddir/libtool"
     exit 0
     ;;
     --help)