diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index a315d1fb5a85..c4cb0a468026 100644 --- a/lib/libpam/libpam/Makefile +++ b/lib/libpam/libpam/Makefile @@ -65,7 +65,7 @@ STATIC_MODULES+= ${MODOBJDIR}/pam_deny/libpam_deny.a .if defined(MAKE_KERBEROS4) && !defined(NOCRYPT) STATIC_MODULES+= ${MODOBJDIR}/pam_kerberosIV/libpam_kerberosIV.a .endif -.if defined(MAKE_KERBEROS5) && !defined(NOCRYPT) +.if defined(MAKE_KERBEROS5__) && !defined(NOCRYPT) STATIC_MODULES+= ${MODOBJDIR}/pam_kerberos5/libpam_kerberos5.a .endif STATIC_MODULES+= ${MODOBJDIR}/pam_permit/libpam_permit.a diff --git a/lib/libpam/modules/Makefile b/lib/libpam/modules/Makefile index badc1344753d..fec6b77d89f1 100644 --- a/lib/libpam/modules/Makefile +++ b/lib/libpam/modules/Makefile @@ -29,7 +29,7 @@ SUBDIR+= pam_deny .if defined(MAKE_KERBEROS4) && !defined(NOCRYPT) SUBDIR+= pam_kerberosIV .endif -.if defined(MAKE_KERBEROS5) && !defined(NOCRYPT) +.if defined(MAKE_KERBEROS5__) && !defined(NOCRYPT) SUBDIR+= pam_kerberos5 .endif SUBDIR+= pam_permit