Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Don't install YP headers when MKYP=no



details:   https://anonhg.NetBSD.org/src/rev/c003ef5bcde9
branches:  trunk
changeset: 450732:c003ef5bcde9
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Apr 24 10:26:08 2019 +0000

description:
Don't install YP headers when MKYP=no

diffstat:

 distrib/sets/comments      |   1 +
 distrib/sets/deps          |   1 +
 distrib/sets/descrs        |   1 +
 distrib/sets/lists/comp/mi |  14 +++++++-------
 include/Makefile           |   9 +++++----
 5 files changed, 15 insertions(+), 11 deletions(-)

diffs (92 lines):

diff -r 29b35cfb28cb -r c003ef5bcde9 distrib/sets/comments
--- a/distrib/sets/comments     Wed Apr 24 10:21:22 2019 +0000
+++ b/distrib/sets/comments     Wed Apr 24 10:26:08 2019 +0000
@@ -232,6 +232,7 @@
 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
diff -r 29b35cfb28cb -r c003ef5bcde9 distrib/sets/deps
--- a/distrib/sets/deps Wed Apr 24 10:21:22 2019 +0000
+++ b/distrib/sets/deps Wed Apr 24 10:26:08 2019 +0000
@@ -251,6 +251,7 @@
 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
diff -r 29b35cfb28cb -r c003ef5bcde9 distrib/sets/descrs
--- a/distrib/sets/descrs       Wed Apr 24 10:21:22 2019 +0000
+++ b/distrib/sets/descrs       Wed Apr 24 10:26:08 2019 +0000
@@ -207,6 +207,7 @@
 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
diff -r 29b35cfb28cb -r c003ef5bcde9 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Wed Apr 24 10:21:22 2019 +0000
+++ b/distrib/sets/lists/comp/mi        Wed Apr 24 10:26:08 2019 +0000
@@ -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
diff -r 29b35cfb28cb -r c003ef5bcde9 include/Makefile
--- a/include/Makefile  Wed Apr 24 10:21:22 2019 +0000
+++ b/include/Makefile  Wed Apr 24 10:26:08 2019 +0000
@@ -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+= 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+= ieeefp.h
 .endif
 
-.include <bsd.own.mk>
-
-
 INCSDIR=       /usr/include
 
 SUBDIR=                rpc



Home | Main Index | Thread Index | Old Index