diff options
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r-- | libexec/ftpd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index ceb46e2..e415407f 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -8,7 +8,6 @@ MAN= ftpd.8 ftpchroot.5 SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -CFLAGS+=-DINET6 CFLAGS+=-I${.CURDIR} YFLAGS= WARNS?= 2 @@ -28,6 +27,10 @@ CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} DPADD+= ${LIBM} LDADD+= -lm +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+=-DINET6 +.endif + .if ${MK_PAM_SUPPORT} != "no" CFLAGS+=-DUSE_PAM DPADD+= ${LIBPAM} |