summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-aw
blob: 946b865ec6251914dd818fdf7c30846b92a0b65d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -ru /home/green/ssh/sshd/Makefile ./sshd/Makefile
--- /home/green/ssh/sshd/Makefile	Tue Oct 26 03:31:00 1999
+++ ./sshd/Makefile	Mon Nov  8 00:14:02 1999
@@ -3,13 +3,14 @@
 PROG=	sshd
 BINOWN=	root
 BINMODE=555
-BINDIR=	/usr/sbin
-MAN=	sshd.8
+BINDIR=	/sbin
+MAN8=	sshd.8
 
 SRCS=	sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
 	pty.c log-server.c login.c servconf.c serverloop.c
 
 .include <bsd.own.mk> # for KERBEROS and AFS
+.include "../Makefile.inc"
 
 .if (${KERBEROS} == "yes")
 CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
@@ -29,7 +30,7 @@
 
 .include <bsd.prog.mk>
 
-LDADD+=	-lcrypto -lutil -lz
+LDADD+=	-lutil -lz -lcrypt ${CRYPTOLIBS}
 DPADD+=	${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
 
 .if (${TCP_WRAPPERS} == "yes")