summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-24 14:27:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-24 14:27:27 +0000
commit3c00af7e9ff7ae6d3fd059414ddfacb8b93b6254 (patch)
tree6351c162a7187ca965cd914033181351c0ea1b76 /usr.bin
parent53ad4afa4c64d3779defb74205750e18bc153077 (diff)
implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of the
entire file. much help from kurt, and tested by many
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/Makefile4
-rw-r--r--usr.bin/passwd/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 16348dee558..41dcc64e329 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2001/11/23 15:32:05 espie Exp $
+# $OpenBSD: Makefile,v 1.11 2008/06/24 14:27:26 deraadt Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@ BINMODE=4555
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
.if (${YP:L} == "yes")
-CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp -I${.CURDIR}/../../lib/libc/include
.endif
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index b140bd524de..4b35f3a5e51 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2003/08/04 07:29:22 hin Exp $
+# $OpenBSD: Makefile,v 1.30 2008/06/24 14:27:26 deraadt Exp $
.include <bsd.own.mk>
@@ -11,7 +11,7 @@ LDADD+= -lrpcsvc -lutil
CFLAGS+= -I${.CURDIR}
.if (${YP:L} == "yes")
-CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp -I${.CURDIR}/../../lib/libc/include
.endif
.include <bsd.own.mk> # For Kerberos