summaryrefslogtreecommitdiff
path: root/usr.bin/passwd
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-07-04 12:50:24 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-07-04 12:50:24 +0000
commit93e3bf7f5c40e4ef8becf155ca93aceeb5074ce0 (patch)
tree5d6ef75376e3031a12ffdc3801abad9b8f1faaa2 /usr.bin/passwd
parente49dee198058c8509781b24f288671c3ab12691e (diff)
fix compilation for !YP case; ok millert@
Diffstat (limited to 'usr.bin/passwd')
-rw-r--r--usr.bin/passwd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 4b35f3a5e51..a35621d79ec 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.30 2008/06/24 14:27:26 deraadt Exp $
+# $OpenBSD: Makefile,v 1.31 2008/07/04 12:50:23 djm Exp $
.include <bsd.own.mk>
@@ -10,8 +10,9 @@ DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
CFLAGS+= -I${.CURDIR}
+CFLAGS+=-I${.CURDIR}/../../lib/libc/include
.if (${YP:L} == "yes")
-CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp -I${.CURDIR}/../../lib/libc/include
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.endif
.include <bsd.own.mk> # For Kerberos