archrelease: copy trunk to extra-x86_64
[arch-packages.git] / apr / trunk / fix_apr-config.patch
blob51b4aa30177cc66374ec5dc8d87f565c22e7a497
1 From: <tfheen@debian.org>
2 Subject: No description.
4 ---
5 apr-config.in | 8 ++------
6 1 file changed, 2 insertions(+), 6 deletions(-)
8 Index: apr/apr-config.in
9 ===================================================================
10 --- apr.orig/apr-config.in
11 +++ apr/apr-config.in
12 @@ -39,7 +39,7 @@
13 LIBS="@EXTRA_LIBS@"
14 EXTRA_INCLUDES="@EXTRA_INCLUDES@"
15 SHLIBPATH_VAR="@shlibpath_var@"
16 -APR_SOURCE_DIR="@apr_srcdir@"
17 +APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
18 APR_BUILD_DIR="@apr_builddir@"
19 APR_SO_EXT="@so_ext@"
20 APR_LIB_TARGET="@export_lib_target@"
21 @@ -223,11 +223,7 @@
22 exit 0
24 --apr-libtool)
25 - if test "$location" = "installed"; then
26 - echo "${installbuilddir}/libtool"
27 - else
28 - echo "$APR_BUILD_DIR/libtool"
29 - fi
30 + echo "$installbuilddir/libtool"
31 exit 0
33 --help)