summaryrefslogtreecommitdiff
path: root/secure/usr.bin/ssh/Makefile
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/ssh/Makefile
parent8794b8a783923e2335c30f700e3a9db146c64ee6 (diff)
downloadsrc-test2-ee5a34ecba51f02e3bf46b112e265abf976f39b6.tar.gz
src-test2-ee5a34ecba51f02e3bf46b112e265abf976f39b6.zip
Notes
Diffstat (limited to 'secure/usr.bin/ssh/Makefile')
-rw-r--r--secure/usr.bin/ssh/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile
index 3c969cdaa3d4..2f2f97b26fc0 100644
--- a/secure/usr.bin/ssh/Makefile
+++ b/secure/usr.bin/ssh/Makefile
@@ -15,29 +15,23 @@ SRCS= ssh.c readconf.c clientloop.c sshtty.c \
# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
SRCS+= gss-genr.c
-DPADD= ${LIBSSH} ${LIBUTIL}
-LDADD= ${LDSSH} -lutil
-USEPRIVATELIB= ssh
+LIBADD= ssh util
.if ${MK_LDNS} != "no"
CFLAGS+= -DHAVE_LDNS=1
-DPADD+= ${LIBLDNS}
-LDADD+= ${LDLDNS}
-USEPRIVATELIB+= ldns
+LIBADD+= ldns
.endif
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -include krb5_config.h
-DPADD+= ${LIBGSSAPI}
-LDADD+= -lgssapi
+LIBADD+= gssapi
.endif
.if ${MK_OPENSSH_NONE_CIPHER} != "no"
CFLAGS+= -DNONE_CIPHER_ENABLED
.endif
-DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD+= -lcrypt -lcrypto -lz
+LIBADD+= crypt crypto z
.if defined(LOCALBASE)
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE}/bin/xauth\"