From 249265386ae8739090b737f286996805cd3be0e9 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Fri, 28 Jul 2006 10:50:11 +0000 Subject: [PATCH] The lukemftpd code depends on INET6. Therefore MK_INET6_SUPPORT should be respected. --- libexec/lukemftpd/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libexec/lukemftpd/Makefile b/libexec/lukemftpd/Makefile index 7f7837948ee2..8ef420d9fcb4 100644 --- a/libexec/lukemftpd/Makefile +++ b/libexec/lukemftpd/Makefile @@ -13,6 +13,11 @@ SRCS= cmds.c conf.c ftpd.c ftpcmd.y popen.c SRCS+= strsuftoll.c WFORMAT= 0 + +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif + CFLAGS+= -include nbsd2fbsd.h CFLAGS+= -I${.CURDIR} -I${LUKEMFTPD} -I${LUKEMFTPD}/src CFLAGS+= -I${.CURDIR}/../../lib/libc/stdtime