diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index d03f067559f2..e2bf6c23f4d5 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.12 2002/09/18 14:00:35 lukem Exp $ +# $NetBSD: Makefile,v 1.13 2003/04/05 20:32:26 bouyer Exp $ # @(#)Makefile 8.2 (Berkeley) 4/2/94 .include 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: ${NETBSDSRCDIR}/lib/libc/gen @@ -18,6 +18,8 @@ SRCS+= pw_yp.c CPPFLAGS+=-DYP DPADD+= ${LIBRPCSVC} LDADD+= -lrpcsvc +.else +SRCS+= getpwent.c .endif DPADD+= ${LIBUTIL}