aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/files/patch-ag
blob: 7f0fa7e858711db2416b7e8c96addf97198ee4ee (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
--- ssh/Makefile.orig   Sat Apr 14 18:33:20 2001
+++ ssh/Makefile    Sat May 26 14:54:24 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,10 +16,11 @@
    sshconnect.c sshconnect1.c sshconnect2.c
 
 .include <bsd.own.mk> # for AFS
+.include "../Makefile.inc"
 
 .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
@@ -29,6 +30,7 @@
 .endif # KERBEROS
 
 .include <bsd.prog.mk>
+.include "../Makefile.inc"
 
-LDADD+=    -lcrypto -lz
+LDADD+=    ${CRYPTOLIBS} -lz
 DPADD+=    ${LIBCRYPTO} ${LIBZ}