Source-Changes-HG archive

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

[src/netbsd-1-6]: src/usr.bin/chpass Pull up revision 1.13 (requested by bouy...



details:   https://anonhg.NetBSD.org/src/rev/b82df2888819
branches:  netbsd-1-6
changeset: 530285:b82df2888819
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Jun 16 13:17:48 2003 +0000

description:
Pull up revision 1.13 (requested by bouyer in ticket #1245):

Build custom getpwent.o only if USE_YP==no. Otherwise, chpass will not
get the current passwd entry from NIS. Problem reported by Stephen M. Jone
on tech-net.

diffstat:

 usr.bin/chpass/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r e032135dd914 -r b82df2888819 usr.bin/chpass/Makefile
--- a/usr.bin/chpass/Makefile   Mon Jun 16 13:16:07 2003 +0000
+++ b/usr.bin/chpass/Makefile   Mon Jun 16 13:17:48 2003 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.11 2002/03/22 18:10:22 thorpej Exp $
+#      $NetBSD: Makefile,v 1.11.2.1 2003/06/16 13:17:48 grant Exp $
 #      @(#)Makefile    8.2 (Berkeley) 4/2/94
 
 .include <bsd.own.mk>
 
 PROG=  chpass
-SRCS=  chpass.c edit.c field.c table.c util.c getpwent.c
+SRCS=  chpass.c edit.c field.c table.c util.c
 BINOWN=        root
 BINMODE=4555
 .PATH: ${.CURDIR}/../../lib/libc/gen
@@ -18,6 +18,8 @@
 CPPFLAGS+=-DYP
 DPADD+=        ${LIBRPCSVC}
 LDADD+=        -lrpcsvc
+.else
+SRCS+= getpwent.c
 .endif
 
 DPADD+= ${LIBUTIL}



Home | Main Index | Thread Index | Old Index