new patch 01_search-usr-lib-for-libk5crypto.patch
[ckermit.git] / debian / patches / 01_search-usr-lib-for-libk5crypto.patch
1 Index: ckermit/makefile
2 ===================================================================
3 --- ckermit.orig/makefile       2011-07-20 01:39:33.000000000 +0100
4 +++ ckermit/makefile    2011-07-20 01:39:39.000000000 +0100
5 @@ -6277,7 +6277,9 @@
6                  K5CRYPTO='-lk5crypto'; \
7          else if ls /usr/lib64/libk5crypto* > /dev/null 2> /dev/null; then \
8                  K5CRYPTO='-lk5crypto'; \
9 -        fi; fi; \
10 +        else if ls /usr/lib/libk5crypto* > /dev/null 2> /dev/null; then \
11 +                K5CRYPTO='-lk5crypto'; \
12 +        fi; fi; fi; \
13         COM_ERR=''; \
14         if ls /lib/libcom_err* > /dev/null 2> /dev/null; then \
15                 COM_ERR='-lcom_err'; \