Source-Changes-HG archive

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

[src/trunk]: src/lib/librpcsvc Fix building librpcsvc for MKYP=no



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

description:
Fix building librpcsvc for MKYP=no

diffstat:

 lib/librpcsvc/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r c003ef5bcde9 -r ee478bbf9450 lib/librpcsvc/Makefile
--- a/lib/librpcsvc/Makefile    Wed Apr 24 10:26:08 2019 +0000
+++ b/lib/librpcsvc/Makefile    Wed Apr 24 10:26:43 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.40 2012/03/21 10:08:30 matt Exp $
+#      $NetBSD: Makefile,v 1.41 2019/04/24 10:26:43 roy Exp $
 
 WARNS= 4
 
@@ -8,7 +8,14 @@
 
 RPCSRCS=       bootparam_prot.x klm_prot.x mount.x nfs_prot.x\
                nlm_prot.x rex.x rnusers.x rusers.x rquota.x rstat.x rwall.x\
-               sm_inter.x spray.x yp.x yppasswd.x
+               sm_inter.x spray.x
+
+.include <bsd.own.mk>
+
+.if (${MKYP} != "no")
+RPCSRCS+=      yp.x yppasswd.x
+.endif
+
 RPC_INCS=      ${RPCSRCS:.x=.h}
 RPC_XDRFILES=  ${RPCSRCS:.x=_xdr.c}    
 



Home | Main Index | Thread Index | Old Index