--- lib/Makefile.orig	Thu May 23 13:12:23 2002
+++ lib/Makefile	Thu May 23 13:14:17 2002
@@ -11,6 +11,11 @@
 	rijndael.c ssh-dss.c ssh-rsa.c dh.c kexdh.c kexgex.c \
 	scard.c monitor_wrap.c monitor_fdpass.c
 
+SRCS+=	strlcpy.c strlcat.c
+.if defined(COMPAT_GETADDRINFO)
+SRCS+=	getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
+.endif
+
 SRCS+=	readpassphrase.c
 
 DEBUGLIBS= no
@@ -21,6 +26,8 @@
 	@echo -n
 
 .include <bsd.own.mk>
+IGNORE_LIBSSH=yes
+.include "../Makefile.inc"
 
 .if (${KERBEROS:L} == "yes")
 CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
