summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 14:20:14 +0000
committeryar <yar@FreeBSD.org>2006-07-27 14:20:14 +0000
commit982c62305a636f056ac62727e479a62dc9cb271d (patch)
tree5cb3126543ca6aede3eb4e72da927b3e24ceabfc /usr.bin/ftp
parent02be1e49b6c9968f43b0f169ac9aa32676692e67 (diff)
downloadFreeBSD-src-982c62305a636f056ac62727e479a62dc9cb271d.zip
FreeBSD-src-982c62305a636f056ac62727e479a62dc9cb271d.tar.gz
Obey MK_INET6_SUPPORT.
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/ftp/Makefile b/usr.bin/ftp/Makefile
index 25d30d4..c2fe59c 100644
--- a/usr.bin/ftp/Makefile
+++ b/usr.bin/ftp/Makefile
@@ -2,6 +2,8 @@
# $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
+.include <bsd.own.mk>
+
# Uncomment the following to provide defaults for gate-ftp operation
#
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
@@ -13,7 +15,11 @@ PROG= ftp
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c progressbar.c \
ruserpass.c util.c
-CFLAGS+=-I${.CURDIR} -I${LUKEMFTP} -DINET6
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+
+CFLAGS+= -I${.CURDIR} -I${LUKEMFTP}
LDADD= -ledit -ltermcap -lutil
DPADD= ${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL}
OpenPOWER on IntegriCloud