forked from Lainports/freebsd-ports
ports-based OpenSSH. OpenSSH has been in the base system for more than long enough to justify not having to maintain two separate FreeBSD versions of OpenSSH.
36 lines
796 B
Text
36 lines
796 B
Text
--- ssh/Makefile.orig Thu Jun 29 14:35:47 2000
|
|
+++ ssh/Makefile Sat Nov 4 16:58:41 2000
|
|
@@ -5,8 +5,8 @@
|
|
|
|
BINMODE?=4555
|
|
|
|
-BINDIR= /usr/bin
|
|
-MAN= ssh.1
|
|
+BINDIR= /bin
|
|
+MAN1= ssh.1
|
|
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
|
|
MLINKS= ssh.1 slogin.1
|
|
|
|
@@ -14,10 +14,11 @@
|
|
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
|
|
-LDADD+= -lkrb
|
|
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
|
|
+LDADD+= -lkrb -lcom_err
|
|
DPADD+= ${LIBKRB}
|
|
.if (${AFS} == "yes")
|
|
CFLAGS+= -DAFS
|
|
@@ -27,6 +28,7 @@
|
|
.endif # KERBEROS
|
|
|
|
.include <bsd.prog.mk>
|
|
+.include "../Makefile.inc"
|
|
|
|
-LDADD+= -lutil -lz -lcrypto
|
|
+LDADD+= -lutil -lz ${CRYPTOLIBS}
|
|
DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
|