From: Ian Beckwith Date: Wed, 20 Jul 2011 00:40:50 +0000 (+0100) Subject: new patch 01_search-usr-lib-for-libk5crypto.patch X-Git-Tag: 301-2~3 X-Git-Url: http://erislabs.net/gitweb/?p=ckermit.git;a=commitdiff_plain;h=9cb612fc81e86aa8b682adca3e349d2a770690cf new patch 01_search-usr-lib-for-libk5crypto.patch --- diff --git a/debian/patches/01_search-usr-lib-for-libk5crypto.patch b/debian/patches/01_search-usr-lib-for-libk5crypto.patch new file mode 100644 index 0000000..eca6b76 --- /dev/null +++ b/debian/patches/01_search-usr-lib-for-libk5crypto.patch @@ -0,0 +1,15 @@ +Index: ckermit/makefile +=================================================================== +--- ckermit.orig/makefile 2011-07-20 01:39:33.000000000 +0100 ++++ ckermit/makefile 2011-07-20 01:39:39.000000000 +0100 +@@ -6277,7 +6277,9 @@ + K5CRYPTO='-lk5crypto'; \ + else if ls /usr/lib64/libk5crypto* > /dev/null 2> /dev/null; then \ + K5CRYPTO='-lk5crypto'; \ +- fi; fi; \ ++ else if ls /usr/lib/libk5crypto* > /dev/null 2> /dev/null; then \ ++ K5CRYPTO='-lk5crypto'; \ ++ fi; fi; fi; \ + COM_ERR=''; \ + if ls /lib/libcom_err* > /dev/null 2> /dev/null; then \ + COM_ERR='-lcom_err'; \ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..889cd21 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01_search-usr-lib-for-libk5crypto.patch diff --git a/makefile b/makefile index ddd0cd4..1a7860a 100644 --- a/makefile +++ b/makefile @@ -6277,7 +6277,9 @@ linux+krb5+ssl linux+krb5+openssl: K5CRYPTO='-lk5crypto'; \ else if ls /usr/lib64/libk5crypto* > /dev/null 2> /dev/null; then \ K5CRYPTO='-lk5crypto'; \ - fi; fi; \ + else if ls /usr/lib/libk5crypto* > /dev/null 2> /dev/null; then \ + K5CRYPTO='-lk5crypto'; \ + fi; fi; fi; \ COM_ERR=''; \ if ls /lib/libcom_err* > /dev/null 2> /dev/null; then \ COM_ERR='-lcom_err'; \