libfetch now depends on libcrypto and libssl.

This commit is contained in:
Ruslan Ermilov 2002-06-06 13:45:46 +00:00
parent e12155c834
commit 4093807dd9
7 changed files with 30 additions and 7 deletions

View File

@ -715,7 +715,9 @@ lib/libypclnt__L: lib/librpcsvc__L
_generic_libs+= lib
.if !defined(NOCRYPT) && !defined(NOSECURE)
_prebuild_libs+= secure/lib/libcrypto
.if !defined(NO_OPENSSL)
_prebuild_libs+= secure/lib/libcrypto secure/lib/libssl
.endif
.if !defined(NO_OPENSSH)
_prebuild_libs+= secure/lib/libssh
secure/lib/libssh__L: secure/lib/libcrypto__L lib/libz__L

View File

@ -5,16 +5,17 @@ LIB= fetch
WARNS?= 4
CFLAGS+= -I.
CFLAGS+= -DINET6
.if !defined(NOCRYPT)
CFLAGS+= -DWITH_SSL
.endif
SRCS= fetch.c common.c ftp.c http.c file.c \
ftperr.h httperr.h
INCS= fetch.h
MAN= fetch.3
CLEANFILES= ftperr.h httperr.h
#DPADD= ${LIBCRYPTO} ${LIBSSL}
#LDADD= -lcrypto -lssl
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
CFLAGS+= -DWITH_SSL
DPADD= ${LIBCRYPTO} ${LIBSSL}
LDADD= -lcrypto -lssl
.endif
NO_WERROR= yes

View File

@ -4,7 +4,7 @@ MAINTAINER= des@freebsd.org
PROG= fetch
DPADD= ${LIBFETCH}
LDADD= -lfetch
.if !defined(NOCRYPT)
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
.endif

View File

@ -10,4 +10,9 @@ WARNS?= 2
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
.endif
.include <bsd.prog.mk>

View File

@ -10,4 +10,9 @@ WARNS?= 2
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
.endif
.include <bsd.prog.mk>

View File

@ -10,4 +10,9 @@ WARNS?= 2
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
.endif
.include <bsd.prog.mk>

View File

@ -10,4 +10,9 @@ WARNS?= 2
DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
LDADD= ${LIBINSTALL} -lfetch -lmd
.if !defined(NOCRYPT) && !defined(NOSECURE) && !defined(NO_OPENSSL)
DPADD+= ${LIBCRYPTO} ${LIBSSL}
LDADD+= -lcrypto -lssl
.endif
.include <bsd.prog.mk>