diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-19 21:26:35 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-19 21:26:35 +0000 |
commit | 60f0cc8b06f6b2a732dba45282047230a78eab47 (patch) | |
tree | 095b6ccdab3a498288710207dff5b8c76acad921 /usr.bin/passwd/Makefile | |
parent | 11de9e6ceccf61da35fe169021912e46267d7f74 (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/passwd/Makefile')
-rw-r--r-- | usr.bin/passwd/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 848669c31d1..aaac8e5afb8 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 1997/03/27 00:30:52 weingart Exp $ +# $OpenBSD: Makefile,v 1.15 1997/04/19 21:26:27 millert Exp $ .include <bsd.own.mk> @@ -9,18 +9,18 @@ DPADD+= ${LIBRPCSVC} ${LIBUTIL} LDADD+= -lrpcsvc -lutil CFLAGS+= -I${.CURDIR} -.if defined(YP) +.if (${YP} == "yes") CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp .endif .include <bsd.own.mk> # For Kerberos -.if defined(KERBEROS5) +.if (${KERBEROS5} == "yes") #SRCS+= krb5_passwd.c XXX fix the /tmp/tkt_cpw_%d race first + others CFLAGS+= -DKERBEROS5 DPADD+= ${LIBKRB5} ${LIBCRYPTO} LDADD+= -lkrb5 -lcrypto -.elif defined(KERBEROS) +.elif (${KERBEROS} == "yes") .PATH: ${.CURDIR}/../rlogin SRCS+= krb_passwd.c des_rw.c CFLAGS+= -DKERBEROS |