libfetch now depends on libcrypto and libssl.
This commit is contained in:
parent
e12155c834
commit
4093807dd9
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user