summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-28 10:50:11 +0000
committeryar <yar@FreeBSD.org>2006-07-28 10:50:11 +0000
commit7ed57880855ff8c8bd7d2c4f996d522004a05812 (patch)
tree37cff46a8a67ba9c300c7dad64f42b738b6bd4b0 /libexec
parenta7f98810681f096b80bb465b67fbca79696eef33 (diff)
downloadFreeBSD-src-7ed57880855ff8c8bd7d2c4f996d522004a05812.zip
FreeBSD-src-7ed57880855ff8c8bd7d2c4f996d522004a05812.tar.gz
The lukemftpd code depends on INET6. Therefore MK_INET6_SUPPORT
should be respected.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/lukemftpd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/lukemftpd/Makefile b/libexec/lukemftpd/Makefile
index 7f78379..8ef420d 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
OpenPOWER on IntegriCloud