Author: brooks
Date: Thu Jan 24 16:28:37 2013
New Revision: 245886
URL: http://svnweb.freebsd.org/changeset/base/245886

Log:
  Don't install telnet.h if it will be installed by libtelnet.

Modified:
  head/include/arpa/Makefile

Modified: head/include/arpa/Makefile
==============================================================================
--- head/include/arpa/Makefile  Thu Jan 24 15:55:24 2013        (r245885)
+++ head/include/arpa/Makefile  Thu Jan 24 16:28:37 2013        (r245886)
@@ -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>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to