summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-03-09 09:00:42 +0000
committerderaadt <deraadt@openbsd.org>1998-03-09 09:00:42 +0000
commit4e4ba5f4c33aada4830352d57fcb508cb9c7cc4e (patch)
treebf9a54862506588f478edf5e9dbae5633ddcce11
parentmain() _always_ returns int! (diff)
downloadwireguard-openbsd-4e4ba5f4c33aada4830352d57fcb508cb9c7cc4e.tar.xz
wireguard-openbsd-4e4ba5f4c33aada4830352d57fcb508cb9c7cc4e.zip
Fix YP/localhost code which Art broke very badly
-rw-r--r--usr.bin/passwd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 067dd1af10f..efdacce05a5 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.17 1998/01/23 02:38:46 millert Exp $
+# $OpenBSD: Makefile,v 1.18 1998/03/09 09:00:42 deraadt Exp $
.include <bsd.own.mk>
PROG= passwd
-SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c
+SRCS= local_passwd.c yp_passwd.c passwd.c pwd_gensalt.c getpwent.c
.PATH: ${.CURDIR}/../../lib/libc/gen
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
@@ -31,5 +31,7 @@ LDADD+= -lkadm -lkrb -ldes -lcom_err
BINMODE=4555
BINOWN=root
-.include <bsd.prog.mk>
+getpwent.o: getpwent.c
+ ${COMPILE.c} -UYP ${.IMPSRC}
+.include <bsd.prog.mk>