aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2004-12-29 08:13:20 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2004-12-29 08:13:20 +0000
commitaee042045bd0ddeb3598dc5e60970084b399ce74 (patch)
tree428a6301fa591df4283ab2bcb00f9a7f73880931 /usr.bin/chpass
parente5f8af4e5cb58475439a7d0174800835c77f8c33 (diff)
Notes
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index a012ad8c011f..3ffb0ef76597 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -24,12 +24,16 @@ LDADD+= -lypclnt
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn
LINKS+= ${BINDIR}/chpass ${BINDIR}/chsh
+.if !defined(NO_NIS)
LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchpass
LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchfn
LINKS+= ${BINDIR}/chpass ${BINDIR}/ypchsh
+.endif
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
+.if !defined(NO_NIS)
MLINKS+= chpass.1 ypchpass.1 chpass.1 ypchfn.1 chpass.1 ypchsh.1
+.endif
beforeinstall:
.for i in chpass chfn chsh ypchpass ypchfn ypchsh