summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-06-06 13:45:46 +0000
committerru <ru@FreeBSD.org>2002-06-06 13:45:46 +0000
commit876652376eaa952b35638423418af6b1c6018434 (patch)
tree7af9257a853afb203a015dec13366bbf60a9e7d8 /lib/libfetch/Makefile
parent37d7c3a7dfacca0aa405b2e7e18025633a202cf1 (diff)
downloadFreeBSD-src-876652376eaa952b35638423418af6b1c6018434.zip
FreeBSD-src-876652376eaa952b35638423418af6b1c6018434.tar.gz
libfetch now depends on libcrypto and libssl.
Diffstat (limited to 'lib/libfetch/Makefile')
-rw-r--r--lib/libfetch/Makefile11
1 files changed, 6 insertions, 5 deletions
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
OpenPOWER on IntegriCloud