summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2002-10-28 01:41:28 +0000
committerfenner <fenner@FreeBSD.org>2002-10-28 01:41:28 +0000
commit519bc6cb1603f812953f911044ba7fefb9ca12b7 (patch)
tree9d84a7730d8c4e357320c8d7f0aca01959332bb3 /lib/libfetch
parentf6c5839fe106183332c9a1a9eb901b0f67600b53 (diff)
downloadFreeBSD-src-519bc6cb1603f812953f911044ba7fefb9ca12b7.zip
FreeBSD-src-519bc6cb1603f812953f911044ba7fefb9ca12b7.tar.gz
Up WARNS to 3 if not building with crypto.
Approved by: des
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index 96914ea..700d052 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -2,7 +2,6 @@
MAINTAINER= des@freebsd.org
LIB= fetch
-WARNS?= 2
CFLAGS+= -I.
CFLAGS+= -DINET6
SRCS= fetch.c common.c ftp.c http.c file.c \
@@ -15,8 +14,11 @@ CLEANFILES= ftperr.h httperr.h
CFLAGS+= -DWITH_SSL
DPADD= ${LIBSSL} ${LIBCRYPTO}
LDADD= -lssl -lcrypto
+WARNS?= 2
.endif
+WARNS?= 3
+
SHLIB_MAJOR= 3
ftperr.h: ftp.errors
OpenPOWER on IntegriCloud