[Midnightbsd-cvs] src [8985] trunk/include/arpa/Makefile: only install telnet.h if it is not installed by libtelnet

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Sep 29 21:15:20 EDT 2016


Revision: 8985
          http://svnweb.midnightbsd.org/src/?rev=8985
Author:   laffer1
Date:     2016-09-29 21:15:20 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
only install telnet.h if it is not installed by libtelnet

Modified Paths:
--------------
    trunk/include/arpa/Makefile

Modified: trunk/include/arpa/Makefile
===================================================================
--- trunk/include/arpa/Makefile	2016-09-30 01:14:22 UTC (rev 8984)
+++ trunk/include/arpa/Makefile	2016-09-30 01:15:20 UTC (rev 8985)
@@ -1,7 +1,12 @@
 # $FreeBSD: src/include/arpa/Makefile,v 1.3 2004/12/21 08:46:51 ru Exp $
 
+.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>



More information about the Midnightbsd-cvs mailing list