archrelease: copy trunk to extra-x86_64
[arch-packages.git] / apr / repos / extra-x86_64 / fix_apr-config.patch
blob600fb53bc06bbb280b6008e9edb3fa713d99a107
1 diff --git a/apr-config.in b/apr-config.in
2 index bed47cacb..2cba29b1d 100644
3 --- a/apr-config.in
4 +++ b/apr-config.in
5 @@ -39,7 +39,7 @@ LDFLAGS="@EXTRA_LDFLAGS@"
6 LIBS="@EXTRA_LIBS@"
7 EXTRA_INCLUDES="@EXTRA_INCLUDES@"
8 SHLIBPATH_VAR="@shlibpath_var@"
9 -APR_SOURCE_DIR="@apr_srcdir@"
10 +APR_SOURCE_DIR="$(cd @installbuilddir@/.. ; pwd)"
11 APR_BUILD_DIR="@apr_builddir@"
12 APR_SO_EXT="@so_ext@"
13 APR_LIB_TARGET="@export_lib_target@"
14 @@ -243,13 +243,7 @@ while test $# -gt 0; do
15 exit 0
17 --apr-libtool)
18 - if test "$location" = "installed"; then
19 - echo "${installbuilddir}/libtool"
20 - elif test "$location" = "crosscompile"; then
21 - echo "$APR_TARGET_DIR/${installbuilddir}/libtool"
22 - else
23 - echo "$APR_BUILD_DIR/libtool"
24 - fi
25 + echo "$installbuilddir/libtool"
26 exit 0
28 --help)