summaryrefslogtreecommitdiffstats
path: root/usr.bin/chkey/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/chkey/Makefile')
-rw-r--r--usr.bin/chkey/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/chkey/Makefile b/usr.bin/chkey/Makefile
index f3f5bd6..847e5c9 100644
--- a/usr.bin/chkey/Makefile
+++ b/usr.bin/chkey/Makefile
@@ -1,11 +1,13 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
.PATH: ${.CURDIR}/../newkey
PROG= chkey
SRCS= chkey.c generic.c update.c
CFLAGS+= -I${.CURDIR}/../newkey
-.if !defined(NO_NIS)
+.if ${MK_NIS} != "no"
CFLAGS+= -DYP
.endif
DPADD= ${LIBRPCSVC} ${LIBMP} ${LIBCRYPTO}
OpenPOWER on IntegriCloud