summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ssh-Makefile
blob: 5ab9b12d987b2ca9fa1310661efad1a9cb09015e (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
41
--- ssh/Makefile.orig	Thu Jun 20 21:56:07 2002
+++ ssh/Makefile	Fri Jun 21 22:59:47 2002
@@ -7,8 +7,9 @@
 
 #BINMODE?=4555
 
-BINDIR=	/usr/bin
-MAN=	ssh.1 ssh_config.5
+BINDIR=	/bin
+MAN1=	ssh.1
+MAN5=	ssh_config.5
 LINKS=	${BINDIR}/ssh ${BINDIR}/slogin
 MLINKS=	ssh.1 slogin.1
 
@@ -16,6 +17,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 +26,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 +38,5 @@
 
 .include <bsd.prog.mk>
 
-LDADD+=	-lcrypto -lz -ldes
-DPADD+=	${LIBCRYPTO} ${LIBZ} ${LIBDES}
+LDADD+= ${CRYPTOLIBS} -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}