Index: ckermit/makefile
===================================================================
---- ckermit.orig/makefile 2012-01-29 00:15:30.000000000 +0000
-+++ ckermit/makefile 2012-01-29 00:32:46.000000000 +0000
+--- ckermit.orig/makefile 2014-01-22 23:19:35.000000000 +0000
++++ ckermit/makefile 2014-01-22 23:22:14.000000000 +0000
@@ -6100,10 +6100,14 @@
test -f /usr/lib/libncurses.a || \
test -f /usr/lib/libncurses.so; then \
then echo -llockdev; fi`" \
linuxa
-@@ -6309,7 +6316,9 @@
+@@ -6309,15 +6316,20 @@
K5CRYPTO='-lk5crypto'; \
else if ls /usr/lib64/libk5crypto* > /dev/null 2> /dev/null; then \
K5CRYPTO='-lk5crypto'; \
COM_ERR=''; \
if ls /lib/libcom_err* > /dev/null 2> /dev/null; then \
COM_ERR='-lcom_err'; \
-@@ -6317,7 +6326,7 @@
+ fi; \
++ else if ls /lib/$(MULTIARCH)/libcom_err* > /dev/null 2> /dev/null; then \
++ COM_ERR='-lcom_err'; \
++ fi; \
GSSAPILIB='-lgssapi'; \
if ls /lib/libgssapi_krb5* > /dev/null 2> /dev/null; then \
GSSAPILIB='-lgssapi_krb5'; \