summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-08 11:41:02 +0000
committerru <ru@FreeBSD.org>2004-01-08 11:41:02 +0000
commit4a8b6d970d56f429d84dabc87c5c3b3fb9b42dc0 (patch)
treeafe703c3f4570d81338b3487064db404b9f9db9a
parent2e62c8ec0a4835baa244c593ec7b0893ddda3378 (diff)
downloadFreeBSD-src-4a8b6d970d56f429d84dabc87c5c3b3fb9b42dc0.zip
FreeBSD-src-4a8b6d970d56f429d84dabc87c5c3b3fb9b42dc0.tar.gz
Cosmetics: rearrange the dependency list to match that of ssh and sshd.
Reviewed by: des
-rw-r--r--secure/lib/libssh/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index a195712..3931c86 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -20,6 +20,9 @@ SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
.endif
CFLAGS+= -I${SSHDIR}
+DPADD= ${LIBZ}
+LDADD= -lz
+
.if !defined(NO_KERBEROS)
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
@@ -28,8 +31,8 @@ LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
NOLINT= true
-DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
-LDADD+= -lcrypto -lcrypt -lz
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
+LDADD+= -lcrypto -lcrypt
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud