summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ag
blob: 6971b0cfacf1e34393be417f1cf91e0b6f8f994f (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
30
31
32
33
34
35
36
37
38
39
40
--- ssh/Makefile.orig	Tue Sep 11 00:44:47 2001
+++ ssh/Makefile	Wed Oct  3 13:54:47 2001
@@ -7,8 +7,8 @@
 
 BINMODE?=4555
 
-BINDIR=	/usr/bin
-MAN=	ssh.1
+BINDIR=	/bin
+MAN1=	ssh.1
 LINKS=	${BINDIR}/ssh ${BINDIR}/slogin
 MLINKS=	ssh.1 slogin.1
 
@@ -16,6 +16,7 @@
 	sshconnect.c sshconnect1.c sshconnect2.c
 
 .include <bsd.own.mk> # for AFS
+.include "../Makefile.inc"
 
 .if (${KERBEROS5:L} == "yes")
 CFLAGS+= -DKRB5 -I${DESTDIR}/usr/include/kerberosV
@@ -24,8 +25,8 @@
 .endif # KERBEROS5
 
 .if (${KERBEROS:L} == "yes")
-CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
-LDADD+=	 -lkrb
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+LDADD+=	 -lkrb -lcom_err
 DPADD+=	 ${LIBKRB}
 .if (${AFS:L} == "yes")
 CFLAGS+= -DAFS
@@ -36,5 +37,5 @@
 
 .include <bsd.prog.mk>
 
-LDADD+=	-lcrypto -lz
-DPADD+=	${LIBCRYPTO} ${LIBZ}
+LDADD+= ${CRYPTOLIBS} -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}