freebsd-ports/security/openssh/files/patch-ssh-Makefile
2002-03-17 19:36:40 +00:00

40 lines
911 B
Text

--- ssh/Makefile.orig Tue Mar 5 01:49:51 2002
+++ ssh/Makefile Sun Mar 17 14:58:13 2002
@@ -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 -ldes
-DPADD+= ${LIBCRYPTO} ${LIBZ}
+LDADD+= ${CRYPTOLIBS} -lcrypt -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}