new patch 01_search-usr-lib-for-libk5crypto.patch
authorIan Beckwith <ianb@erislabs.net>
Wed, 20 Jul 2011 00:40:50 +0000 (01:40 +0100)
committerIan Beckwith <ianb@erislabs.net>
Wed, 20 Jul 2011 00:40:50 +0000 (01:40 +0100)
debian/patches/01_search-usr-lib-for-libk5crypto.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
makefile

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 (file)
index 0000000..eca6b76
--- /dev/null
@@ -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 (file)
index 0000000..889cd21
--- /dev/null
@@ -0,0 +1 @@
+01_search-usr-lib-for-libk5crypto.patch
index ddd0cd4..1a7860a 100644 (file)
--- 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'; \