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
This commit is contained in:
Ruslan Ermilov 2004-05-13 07:51:47 +00:00
parent f9bc91709e
commit 1116791977
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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 \