summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/arpa/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/arpa/Makefile b/include/arpa/Makefile
index a480b31..6b00641 100644
--- a/include/arpa/Makefile
+++ b/include/arpa/Makefile
@@ -1,7 +1,12 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
NO_OBJ=
-INCS= ftp.h inet.h nameser.h nameser_compat.h telnet.h tftp.h
+INCS= ftp.h inet.h nameser.h nameser_compat.h tftp.h
+.if ${MK_TELNET} == "NO"
+INCS+= telnet.h
+.endif
INCSDIR=${INCLUDEDIR}/arpa
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud