sftp(1): Link libtermcap instead of libcurses.
authorSascha Wildner <saw@online.de>
Fri, 13 Jun 2014 09:34:28 +0000 (11:34 +0200)
committerSascha Wildner <saw@online.de>
Fri, 13 Jun 2014 09:34:28 +0000 (11:34 +0200)
secure/usr.bin/sftp/Makefile

index fd503e1..ff7e241 100644 (file)
@@ -1,5 +1,4 @@
 # $FreeBSD: src/secure/usr.bin/sftp/Makefile,v 1.1.2.3 2002/07/03 22:20:30 des Exp $
-# $DragonFly: src/secure/usr.bin/sftp/Makefile,v 1.5 2008/09/28 03:19:46 pavalos Exp $
 
 PROG=  sftp
 SRCS=  progressmeter.c sftp.c sftp-client.c sftp-common.c sftp-glob.c roaming_dummy.c
@@ -8,8 +7,8 @@ WARNS?= 0
 # Portability layer
 SRCS+= fmt_scaled.c
 
-DPADD+=        ${LIBEDIT} ${LIBNCURSES}
-LDADD+=        -ledit -lncurses
+DPADD+=        ${LIBEDIT} ${LIBTERMCAP}
+LDADD+=        -ledit -ltermcap
 
 .include "../../Makefile.ssh.common"
 .include <bsd.prog.mk>