summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-01-24 16:28:37 +0000
committerbrooks <brooks@FreeBSD.org>2013-01-24 16:28:37 +0000
commit97856149a1dfe152305e38969db5245fe52c909a (patch)
treec7187b3672428c3145eb3d514a8acd664fbee085 /include
parent209f0b17a56e0008343a8562a854436c4348ed47 (diff)
downloadFreeBSD-src-97856149a1dfe152305e38969db5245fe52c909a.zip
FreeBSD-src-97856149a1dfe152305e38969db5245fe52c909a.tar.gz
Don't install telnet.h if it will be installed by libtelnet.
Diffstat (limited to 'include')
-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