File gnome-pilot-pisock64bit.patch of Package gnome-pilot
Index: macros/pilot_link.m4
===================================================================
--- macros/pilot_link.m4.orig
+++ macros/pilot_link.m4
@@ -13,12 +13,19 @@ AC_DEFUN([PILOT_LINK_HOOK],
else
PISOCK_CFLAGS="-I$withval/include"
incdir="$withval/include"
- PISOCK_LIBS="-L$withval/lib -lpisock -lpisync"
- AC_MSG_CHECKING("for existance of $withval/lib/libpisock.so")
- if test -r $withval/lib/libpisock.so; then
+ PISOCK_LIBS="-L$withval/lib64 -lpisock -lpisync"
+ AC_MSG_CHECKING("for existance of $withval/lib64/libpisock.so")
+ if test -r $withval/lib64/libpisock.so; then
AC_MSG_RESULT([yes])
else
- AC_MSG_ERROR([Unable to find libpisock. Try http://www.pilot-link.org.])
+ AC_MSG_RESULT([no])
+ PISOCK_LIBS="-L$withval/lib -lpisock -lpisync"
+ AC_MSG_CHECKING("for existance of $withval/lib/libpisock.so")
+ if test -r $withval/lib/libpisock.so; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_ERROR([Unable to find libpisock. Try http://www.pilot-link.org.])
+ fi
fi
fi
])