summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/Makefile
diff options
context:
space:
mode:
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