diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-07-04 12:50:24 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-07-04 12:50:24 +0000 |
commit | 93e3bf7f5c40e4ef8becf155ca93aceeb5074ce0 (patch) | |
tree | 5d6ef75376e3031a12ffdc3801abad9b8f1faaa2 | |
parent | e49dee198058c8509781b24f288671c3ab12691e (diff) |
fix compilation for !YP case; ok millert@
-rw-r--r-- | usr.bin/chpass/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/passwd/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 41dcc64e329..75c0d7ff1df 100644 --- a/usr.bin/chpass/Makefile +++ b/usr.bin/chpass/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2008/06/24 14:27:26 deraadt Exp $ +# $OpenBSD: Makefile,v 1.12 2008/07/04 12:50:23 djm Exp $ .include <bsd.own.mk> @@ -9,8 +9,9 @@ BINMODE=4555 .PATH: ${.CURDIR}/../../lib/libc/gen LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh MLINKS= chpass.1 chfn.1 chpass.1 chsh.1 +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 DPADD+= ${LIBRPCSVC} ${LIBUTIL} LDADD+= -lrpcsvc -lutil 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 |