From 1f187793183f3d481e685f06b9d0776d38926bf7 Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 25 Nov 2014 21:18:18 +0000 Subject: Convert to LIBADD Reduce overlinking --- secure/usr.bin/sftp/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'secure/usr.bin/sftp/Makefile') 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 -- cgit v1.1