diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-27 04:54:03 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-27 04:54:03 +0000 |
commit | ad82a90b810fb3613cf56103f61eb7fb5fcc8f1f (patch) | |
tree | 67ccfcc51ac0b6df8cc93122d53a5a9563361570 /lib/libfetch | |
parent | b8f97747317ca65f926f9fea8dbe358a7e7c3a4a (diff) | |
download | src-ad82a90b810fb3613cf56103f61eb7fb5fcc8f1f.tar.gz src-ad82a90b810fb3613cf56103f61eb7fb5fcc8f1f.zip |
Respect MK_INET6_SUPPORT.
Notes
Notes:
svn path=/head/; revision=160737
Diffstat (limited to 'lib/libfetch')
-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 bcd521409dd2..84eb6e4435fb 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} |