diff options
Diffstat (limited to 'lib/libfetch/Makefile')
-rw-r--r-- | lib/libfetch/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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} |