summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-10-03 19:31:25 +0000
committertholo <tholo@openbsd.org>1996-10-03 19:31:25 +0000
commita1e82a497845cef8dfec5903bd3980506c38784f (patch)
tree65025991f06dce296a7411685c422b91197bc8ef
parentttyv series is now useable (diff)
downloadwireguard-openbsd-a1e82a497845cef8dfec5903bd3980506c38784f.tar.xz
wireguard-openbsd-a1e82a497845cef8dfec5903bd3980506c38784f.zip
Allow build with YP aka NIS support
-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 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
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index a06e595ccc9..84abb3b8044 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 1996/09/04 22:52:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.9 1996/10/03 19:31:27 tholo Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@ LDADD+= -lrpcsvc -lcrypt -lutil
CFLAGS+=-I${.CURDIR}
.if defined(YP)
-CFLAGS+=-DYP
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.endif
.include <bsd.own.mk> # For Kerberos