summaryrefslogtreecommitdiff
path: root/security/openssh/files/patch-ssh-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/files/patch-ssh-Makefile')
-rw-r--r--security/openssh/files/patch-ssh-Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/security/openssh/files/patch-ssh-Makefile b/security/openssh/files/patch-ssh-Makefile
new file mode 100644
index 000000000000..6971b0cfacf1
--- /dev/null
+++ b/security/openssh/files/patch-ssh-Makefile
@@ -0,0 +1,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}