From 9cb612fc81e86aa8b682adca3e349d2a770690cf Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Wed, 20 Jul 2011 01:40:50 +0100 Subject: [PATCH] new patch 01_search-usr-lib-for-libk5crypto.patch --- debian/patches/01_search-usr-lib-for-libk5crypto.patch | 15 +++++++++++++++ debian/patches/series | 1 + makefile | 4 +++- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 debian/patches/01_search-usr-lib-for-libk5crypto.patch create mode 100644 debian/patches/series 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'; \ -- 2.11.0