summaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-19 21:26:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-19 21:26:35 +0000
commit60f0cc8b06f6b2a732dba45282047230a78eab47 (patch)
tree095b6ccdab3a498288710207dff5b8c76acad921 /usr.bin/chpass
parent11de9e6ceccf61da35fe169021912e46267d7f74 (diff)
Changed ``defined(KERBEROS)'' to ``(${KERBEROS} == "yes")''
Same change doen for SKEY, YP, and KERBEROS5. This allows people to override those setting in /etc/mk.conf.
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 fc73925383a..3cb6d33d05a 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 1996/10/03 19:31:25 tholo Exp $
+# $OpenBSD: Makefile,v 1.6 1997/04/19 21:26:25 millert Exp $
# $NetBSD: Makefile,v 1.6 1996/05/15 21:50:39 jtc Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@ 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
-.if defined(YP)
+.if (${YP} == "yes")
CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
.endif
DPADD+= ${LIBRPCSVC} ${LIBUTIL}