aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/sftp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-25 21:18:18 +0000
commitee5a34ecba51f02e3bf46b112e265abf976f39b6 (patch)
tree569e9832fa3d4775e3b8244ea1f09d4307418368 /secure/usr.bin/sftp
parent8794b8a783923e2335c30f700e3a9db146c64ee6 (diff)
downloadsrc-ee5a34ecba51f02e3bf46b112e265abf976f39b6.tar.gz
src-ee5a34ecba51f02e3bf46b112e265abf976f39b6.zip
Convert to LIBADD
Reduce overlinking
Notes
Notes: svn path=/head/; revision=275077
Diffstat (limited to 'secure/usr.bin/sftp')
-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 96f9d04132ec..ef130d806cd5 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>