Don't install YP headers when MKYP=no

This commit is contained in:
roy 2019-04-24 10:26:08 +00:00
parent fb621a2547
commit 81b96f23a9
5 changed files with 15 additions and 11 deletions

View File

@ -232,6 +232,7 @@ comp-objc-bin compilers and tools for the Objective C programming language
comp-objc-lib static libraries and shared library links for the Objective C programming language
comp-objc-piclib PIC libraries for Objective C language shared library generation
comp-objc-proflib profiling libraries for the Objective C programming language
comp-nis-include Headers for bulding NIS applications
comp-sys-catman formatted manual pages for kernel programming
comp-sys-man manual pages source for kernel programming
comp-sys-shlib shared library support for basic i386 math and utility libs

View File

@ -251,6 +251,7 @@ comp-krb5-lib base-sys-usr
comp-krb5-man base-man-share
comp-krb5-proflib base-sys-usr
comp-krb5c-catman base-man-share
comp-nis-include comp-c-include
comp-objc-bin base-sys-usr
comp-objc-lib base-sys-usr
comp-objc-piclib base-sys-usr

View File

@ -207,6 +207,7 @@ comp-c-catman the C programming language:
comp-c-include This package contains header files for the C programming language,
comp-c-include including standard C and UNIX APIs, and APIs specific to the NetBSD
comp-c-include operating system.
comp-nis-inlcude Header files for building NIS applications
comp-c-lib This contains library archives to build statically linked versions of C
comp-c-lib libraries.
comp-c-lib programs and simbolic links for use in linking software against shared

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.2268 2019/04/06 12:33:18 kamil Exp $
# $NetBSD: mi,v 1.2269 2019/04/24 10:26:08 roy Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@ -2846,12 +2846,12 @@
./usr/include/rpcsvc/sm_inter.x comp-c-include
./usr/include/rpcsvc/spray.h comp-c-include
./usr/include/rpcsvc/spray.x comp-c-include
./usr/include/rpcsvc/yp.h comp-c-include
./usr/include/rpcsvc/yp.x comp-c-include
./usr/include/rpcsvc/yp_prot.h comp-c-include
./usr/include/rpcsvc/ypclnt.h comp-c-include
./usr/include/rpcsvc/yppasswd.h comp-c-include
./usr/include/rpcsvc/yppasswd.x comp-c-include
./usr/include/rpcsvc/yp.h comp-nis-include yp
./usr/include/rpcsvc/yp.x comp-nis-include yp
./usr/include/rpcsvc/yp_prot.h comp-nis-include yp
./usr/include/rpcsvc/ypclnt.h comp-nis-include yp
./usr/include/rpcsvc/yppasswd.h comp-nis-include yp
./usr/include/rpcsvc/yppasswd.x comp-nis-include yp
./usr/include/rtld_db.h comp-c-include dtrace
./usr/include/rump/p2k.h comp-puffs-include rump
./usr/include/rump/rump.h comp-c-include rump

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.144 2017/10/16 11:38:25 maya Exp $
# $NetBSD: Makefile,v 1.145 2019/04/24 10:26:08 roy Exp $
# @(#)Makefile 8.2 (Berkeley) 1/4/94
# Doing a make includes builds /usr/include
@ -30,7 +30,11 @@ INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
INCS+= hesiod.h
.include <bsd.own.mk>
.if (${MKYP} != "no")
INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h
.endif
INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
@ -38,9 +42,6 @@ INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
INCS+= ieeefp.h
.endif
.include <bsd.own.mk>
INCSDIR= /usr/include
SUBDIR= rpc