aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh/files/patch-ag
blob: 12c47019780cdfe7fce48c652fac062b35666318 (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
--- ssh/Makefile.orig   Thu Apr 27 06:31:58 2000
+++ ssh/Makefile    Fri May 12 07:23:01 2000
@@ -2,16 +2,10 @@
 
 PROG=  ssh
 BINOWN=    root
+BINMODE=4555
+BINDIR=    /bin
+MAN1=  ssh.1
 
-.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \
-   ${MACHINE_ARCH} == "hppa")
-BINMODE=0000
-.else
-BINMODE?=4555
-.endif
-
-BINDIR=    /usr/bin
-MAN=   ssh.1
 LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
 MLINKS=    ssh.1 slogin.1
 
@@ -19,6 +13,7 @@
    sshconnect.c sshconnect1.c sshconnect2.c
 
 .include <bsd.own.mk> # for AFS
+.include "../Makefile.inc"
 
 .if (${KERBEROS} == "yes")
 CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
@@ -32,6 +27,7 @@
 .endif # KERBEROS
 
 .include <bsd.prog.mk>
+.include "../Makefile.inc"
 
-LDADD+=    -lutil -lz -lcrypto
+LDADD+=    -lutil -lz ${CRYPTOLIBS}
 DPADD+=    ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}