summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-10-03 19:31:28 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-10-03 19:31:28 +0000
commitdf2878172a5c2b86f8e2ebf978cb871855334c1a (patch)
treee89b3fc854735978c70543770a05d70573e8668d /usr.bin/chpass
parentdb43dfd1a5e0f606d8c0b32607da7bb4ac3b2d14 (diff)
Allow build with YP aka NIS support
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index c2d4bed1da3..fc73925383a 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 1996/09/04 22:52:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1996/10/03 19:31:25 tholo Exp $
# $NetBSD: Makefile,v 1.6 1996/05/15 21:50:39 jtc Exp $
.include <bsd.own.mk>
@@ -11,7 +11,7 @@ BINMODE=4555
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
.if defined(YP)
-CFLAGS+=-DYP
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.endif
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil