summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin/sftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/usr.bin/sftp/Makefile')
-rw-r--r--secure/usr.bin/sftp/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/secure/usr.bin/sftp/Makefile b/secure/usr.bin/sftp/Makefile
index 96f9d04..ef130d8 100644
--- a/secure/usr.bin/sftp/Makefile
+++ b/secure/usr.bin/sftp/Makefile
@@ -11,9 +11,7 @@ CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
SRCS+= roaming_dummy.c
.endif
-DPADD= ${LIBSSH} ${LIBEDIT} ${LIBNCURSESW}
-LDADD= ${LDSSH} -ledit -lncursesw
-USEPRIVATELIB= ssh
+LIBADD= ssh edit
.if ${MK_LDNS} != "no"
CFLAGS+= -DHAVE_LDNS=1
@@ -22,8 +20,7 @@ CFLAGS+= -DHAVE_LDNS=1
#USEPRIVATELIB+= ldns
.endif
-DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD+= -lcrypt -lcrypto -lz
+LIABDD+= crypt crypto z
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud