File libdir-fix.diff of Package openchange
Index: libmapi-0.8.2-ROMULUS/configure.ac
===================================================================
--- libmapi-0.8.2-ROMULUS.orig/configure.ac
+++ libmapi-0.8.2-ROMULUS/configure.ac
@@ -22,11 +22,11 @@ esac
# OC_CHECK_SAMBA_PATH([PATH],[action-if-found],[action-if-not-found])
# -------------------------------------------------------------------
AC_DEFUN([OC_CHECK_SAMBA_PATH],
[
old_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
- PKG_CONFIG_PATH="$1/lib/pkgconfig"
+ PKG_CONFIG_PATH="$1/lib64/pkgconfig"
export PKG_CONFIG_PATH
PKG_CHECK_EXISTS([samba-hostconfig], [found=1], [found=0])
PKG_CONFIG_PATH="$old_PKG_CONFIG_PATH"
if test $found = 1; then
ifelse([$2],[], [echo -n ], [$2])
@@ -48,11 +48,11 @@ AC_ARG_WITH(samba,
done
])
AC_SUBST(sambaprefix)
OC_CHECK_SAMBA_PATH($sambaprefix,[], AC_MSG_ERROR(Samba 4 not found))
AC_MSG_RESULT($sambaprefix)
-PKG_CONFIG_PATH="$sambaprefix/lib/pkgconfig:$PKG_CONFIG_PATH"
+PKG_CONFIG_PATH="$sambaprefix/lib64/pkgconfig:$PKG_CONFIG_PATH"
PATH="$sambaprefix/bin:$PATH"
#
# OC_SETVAL([NAME])
# -----------------