summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/login_krb5-or-pwd/Makefile6
-rw-r--r--libexec/login_krb5/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/login_krb5-or-pwd/Makefile b/libexec/login_krb5-or-pwd/Makefile
index c9e5fdff751..4b93ed73eeb 100644
--- a/libexec/login_krb5-or-pwd/Makefile
+++ b/libexec/login_krb5-or-pwd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2002/05/11 00:20:20 espie Exp $
+# $OpenBSD: Makefile,v 1.8 2003/05/13 04:41:00 hin Exp $
.include <bsd.own.mk>
@@ -7,12 +7,12 @@ SRCS= login.c login_passwd.c
MAN= ${PROG}.8
CFLAGS+=-DPASSWD -Wall -Werror -I${.CURDIR}/../login_passwd
-.if (${KERBEROS:L} == "yes")
+.if (${KERBEROS5:L} == "yes")
SRCS+= login_krb5.c
DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBUTIL} ${LIBKRB5} ${LIBKASN1} \
${LIBCOM_ERR} ${LIBKAFS} ${LIBDES}
LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkrb -lutil -lkafs -ldes
-CFLAGS+=-DKRB524 -DKRB5
+CFLAGS+=-DKRB5
.PATH: ${.CURDIR}/../login_passwd ${.CURDIR}/../login_krb5
.else
DPADD+= ${LIBUTIL}
diff --git a/libexec/login_krb5/Makefile b/libexec/login_krb5/Makefile
index 667a5a34093..fbb4e7d2a8e 100644
--- a/libexec/login_krb5/Makefile
+++ b/libexec/login_krb5/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2002/05/11 00:20:20 espie Exp $
+# $OpenBSD: Makefile,v 1.12 2003/05/13 04:41:00 hin Exp $
.include <bsd.own.mk>
@@ -8,12 +8,12 @@ MAN= ${PROG}.8
CFLAGS+=-Wall -Werror -I${.CURDIR}/../login_passwd
.PATH: ${.CURDIR}/../login_passwd
-.if (${KERBEROS:L} == "yes")
+.if (${KERBEROS5:L} == "yes")
SRCS+= login_krb5.c
DPADD+= ${LIBKRB5} ${LIBASN1} ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR} ${LIBKAFS} \
${LIBDES}
LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkrb -lkafs -ldes
-CFLAGS+=-DKRB524 -DKRB5
+CFLAGS+=-DKRB5
.endif
DPADD+= ${LIBUTIL}