Add MK_TALK knob for building the talk and talkd

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-01-25 04:37:44 +00:00
parent b29d6977f3
commit 3f802165ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277676
5 changed files with 21 additions and 2 deletions

View File

@ -28,7 +28,6 @@ SUBDIR= ${_atf} \
${_rtld-elf} \
save-entropy \
${_smrsh} \
talkd \
tcpd \
${_telnetd} \
${_tests} \
@ -81,6 +80,10 @@ _mail.local= mail.local
_smrsh= smrsh
.endif
.if ${MK_TALK} != "no"
SUBDIR+= talkd
.endif
.if ${MK_TELNET} != "no"
_telnetd= telnetd
.endif

View File

@ -144,6 +144,7 @@ __DEFAULT_YES_OPTIONS = \
SYSCALL_COMPAT \
SYSCONS \
SYSINSTALL \
TALK \
TCSH \
TELNET \
TESTS \

View File

@ -4073,6 +4073,13 @@ OLD_DIRS+=usr/share/doc/pjdfstest
# to be filled in
#.endif
.if ${MK_TALK} == no
OLD_FILES+=usr/bin/talk
OLD_FILES+=usr/libexec/ntalkd
OLD_FILES+=usr/share/man/man1/talk.1.gz
OLD_FILES+=usr/share/man/man8/talkd.8.gz
.endif
.if ${MK_TCSH} == no
OLD_FILES+=bin/csh
OLD_FILES+=bin/tcsh

View File

@ -0,0 +1,5 @@
.\" $FreeBSD$
Set to not build or install
.Xr talk 1
and
.Xr talkd 8 .

View File

@ -162,7 +162,6 @@ SUBDIR= ${_addr2line} \
systat \
tabs \
tail \
talk \
tar \
tcopy \
tee \
@ -348,6 +347,10 @@ SUBDIR+= rwho
SUBDIR+= vacation
.endif
.if ${MK_TALK} != "no"
SUBDIR+= talk
.endif
.if ${MK_TELNET} != "no"
SUBDIR+= telnet
.endif