summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.libnames.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/share/mk/bsd.libnames.mk b/share/mk/bsd.libnames.mk
index d8fd84f..d319fd7 100644
--- a/share/mk/bsd.libnames.mk
+++ b/share/mk/bsd.libnames.mk
@@ -70,15 +70,9 @@ LIBOPIE?= ${DESTDIR}${LIBDIR}/libopie.a
LIBPAM?= ${DESTDIR}${LIBDIR}/libpam.a
MINUSLPAM?= -lpam
.if defined(LDFLAGS) && !empty(LDFLAGS:M-static)
-.if defined(MAKE_KERBEROS4) || defined(MAKE_KERBEROS5)
-.ifdef MAKE_KERBEROS4
-LIBPAM+= ${LIBKRB}
-MINUSLPAM+= -lkrb
-.endif
-.ifdef MAKE_KERBEROS5
+.if defined(MAKE_KERBEROS5)
LIBPAM+= ${LIBKRB5} ${LIBASN1} ${LIBROKEN}
MINUSLPAM+= -lkrb5 -lasn1 -lroken
-.endif
LIBPAM+= ${LIBCOM_ERR}
MINUSLPAM+= -lcom_err
.endif
OpenPOWER on IntegriCloud