summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-11 01:15:32 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-11 01:15:32 +0000
commit0fe159199bcf8f6005fe6dc2570a22d4b7d82879 (patch)
tree4337829b034b4078b3d11891d7dfffe4b9182f5b
parent988edd35477d423e4fa07f648ea78b99ef260ce1 (diff)
krb5 before krb4 to please the linker
-rw-r--r--libexec/telnetd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index 39dab911d1c..fa2a2c40355 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2001/07/19 10:43:17 deraadt Exp $
+# $OpenBSD: Makefile,v 1.16 2001/09/11 01:15:31 jason Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $
@@ -14,14 +14,14 @@ MAN= telnetd.8
.include <bsd.own.mk> # for KERBEROS
+.if (${KERBEROS5:L} == "yes")
+LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs
+.endif
+
.if (${KERBEROS:L} == "yes")
CFLAGS+=-DENCRYPTION -DAUTHENTICATION -DKRB4 -I${.CURDIR}/../../lib
LDADD+= -lkrb -lcrypto
DPADD+= ${LIBDES} ${LIBKRB}
.endif
-.if (${KERBEROS5:L} == "yes")
-LDADD+= -lkrb5 -lasn1 -lcrypto -lcom_err -lkafs
-.endif
-
.include <bsd.prog.mk>