summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-05-13 07:51:47 +0000
committerru <ru@FreeBSD.org>2004-05-13 07:51:47 +0000
commit8bf7da3d6ee044929764ddcfd805423e44ad1bef (patch)
tree13279f97a5c84839f0dc8b69e0cc2f10e80e2d9d
parentc8d65502bcd822baf7d5dd0d74bb0b5cf2878348 (diff)
downloadFreeBSD-src-8bf7da3d6ee044929764ddcfd805423e44ad1bef.zip
FreeBSD-src-8bf7da3d6ee044929764ddcfd805423e44ad1bef.tar.gz
Record the libssl.so dependency on libcrypto.so. This should
help some ports that depend on libradius that recently gained the dependency on libssl. This is also how the stock OpenSSL build would link libssl.so on FreeBSD. Prompted by: kris OK'ed by: markm, nectar
-rw-r--r--Makefile.inc11
-rw-r--r--secure/lib/libssl/Makefile3
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 9f73a20..702c306 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -909,6 +909,7 @@ _generic_libs+= lib
.if !defined(NO_OPENSSL)
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
lib/libradius__L: secure/lib/libssl__L
+secure/lib/libssl__L: secure/lib/libcrypto__L
.if !defined(NO_OPENSSH)
_prebuild_libs+= secure/lib/libssh
secure/lib/libssh__L: lib/libz__L secure/lib/libcrypto__L lib/libcrypt__L
diff --git a/secure/lib/libssl/Makefile b/secure/lib/libssl/Makefile
index 8c039ca..a3d109f 100644
--- a/secure/lib/libssl/Makefile
+++ b/secure/lib/libssl/Makefile
@@ -20,6 +20,9 @@ SRCS= bio_ssl.c s23_clnt.c s23_lib.c s23_meth.c s23_pkt.c s23_srvr.c \
INCS= kssl.h ssl.h ssl2.h ssl23.h ssl3.h tls1.h
INCSDIR=${INCLUDEDIR}/openssl
+DPADD= ${LIBCRYPTO}
+LDADD= -lcrypto
+
.include <bsd.lib.mk>
.PATH: ${LCRYPTO_SRC}/ssl \
OpenPOWER on IntegriCloud