From 876652376eaa952b35638423418af6b1c6018434 Mon Sep 17 00:00:00 2001 From: ru Date: Thu, 6 Jun 2002 13:45:46 +0000 Subject: libfetch now depends on libcrypto and libssl. --- lib/libfetch/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/libfetch/Makefile') diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 4308e75..1321118 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -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 -- cgit v1.1