From e00072f9f4098e3b2c64c47418e0996f485f48d4 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 5 Sep 1998 00:32:27 +0000 Subject: [PATCH] Add -lcrypt when building kerberos. --- libexec/rlogind/Makefile | 6 +++--- libexec/rshd/Makefile | 6 +++--- usr.bin/rlogin/Makefile | 6 +++--- usr.bin/rsh/Makefile | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/libexec/rlogind/Makefile b/libexec/rlogind/Makefile index aebc421a5ad2..2685f8430530 100644 --- a/libexec/rlogind/Makefile +++ b/libexec/rlogind/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 -# $Id$ +# $Id: Makefile,v 1.9 1998/08/06 21:35:47 markm Exp $ PROG= rlogind SRCS= rlogind.c @@ -15,8 +15,8 @@ CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \ -I${.CURDIR}/../../crypto/kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd -DPADD= ${LIBKRB} ${LIBDES} -LDADD+= -lkrb -ldes +DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} +LDADD+= -lkrb -ldes -lcrypt DISTRIBUTION= krb .PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd .endif diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile index bcae68e57d69..d9bfb79eb388 100644 --- a/libexec/rshd/Makefile +++ b/libexec/rshd/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/4/93 -# $Id$ +# $Id: Makefile,v 1.9 1998/08/06 21:36:25 markm Exp $ PROG= rshd SRCS= rshd.c @@ -7,8 +7,8 @@ MAN8= rshd.8 .if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) CFLAGS+=-DKERBEROS -DCRYPT -DPADD= ${LIBKRB} ${LIBDES} -LDADD= -lkrb -ldes +DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} +LDADD= -lkrb -ldes -lcrypt DISTRIBUTION= krb .endif diff --git a/usr.bin/rlogin/Makefile b/usr.bin/rlogin/Makefile index e3d594c32f2f..293a34b0c257 100644 --- a/usr.bin/rlogin/Makefile +++ b/usr.bin/rlogin/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 -# $Id$ +# $Id: Makefile,v 1.10 1998/08/06 21:38:27 markm Exp $ PROG= rlogin SRCS= rlogin.c @@ -11,13 +11,13 @@ INSTALLFLAGS=-fschg .if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) SRCS+= krcmd.c kcmd.c rcmd_util.c encrypt.c -DPADD= ${LIBKRB} ${LIBDES} +DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \ -I${.CURDIR}/../../kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd -LDADD= -lkrb -ldes +LDADD= -lkrb -ldes -lcrypt DISTRIBUTION= krb .PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd .endif diff --git a/usr.bin/rsh/Makefile b/usr.bin/rsh/Makefile index 4f5f0c3552bf..4165d493eef5 100644 --- a/usr.bin/rsh/Makefile +++ b/usr.bin/rsh/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 -# $Id$ +# $Id: Makefile,v 1.6 1998/08/06 21:39:12 markm Exp $ PROG= rsh SRCS= rsh.c @@ -13,8 +13,8 @@ CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \ -I${.CURDIR}/../../crypto/kerberosIV/include \ -I${.CURDIR}/../../crypto/kerberosIV/lib/roken \ -I${.CURDIR}/../../crypto/kerberosIV/appl/bsd -DPADD= ${LIBKRB} ${LIBDES} -LDADD= -lkrb -ldes +DPADD= ${LIBKRB} ${LIBDES} ${LIBCRYPT} +LDADD= -lkrb -ldes -lcrypt DISTRIBUTION= krb .PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd .endif