From 59f55ad58cbfee06051d3fa7c2b36a7c6f64b1d0 Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 27 Jul 2006 04:54:03 +0000 Subject: Respect MK_INET6_SUPPORT. --- lib/libfetch/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/libfetch') diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index bcd5214..84eb6e4 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -4,13 +4,16 @@ LIB= fetch CFLAGS+= -I. -CFLAGS+= -DINET6 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 +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif + .if ${MK_OPENSSL} != "no" CFLAGS+= -DWITH_SSL DPADD= ${LIBSSL} ${LIBCRYPTO} -- cgit v1.1