Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls

merge(1), which is part of the RCS package, it must not be installed if
WITHOUT_RCS update is set. Otherwise, it will produce confusing errors.

CR:		https://reviews.freebsd.org/D691
MFC after:	1 week
Sponsored by:	Spectra Logic
This commit is contained in:
Alan Somers 2014-09-10 19:00:17 +00:00
parent 028bdf289d
commit cec2add46f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271401
3 changed files with 9 additions and 2 deletions

View File

@ -3797,6 +3797,7 @@ OLD_FILES+=usr/bin/rcsdiff
OLD_FILES+=usr/bin/rcsfreeze
OLD_FILES+=usr/bin/rcsmerge
OLD_FILES+=usr/bin/rlog
OLD_FILES+=usr/sbin/etcupdate
OLD_FILES+=usr/share/man/man1/ci.1.gz
OLD_FILES+=usr/share/man/man1/co.1.gz
OLD_FILES+=usr/share/man/man1/ident.1.gz
@ -3809,6 +3810,7 @@ OLD_FILES+=usr/share/man/man1/rcsintro.1.gz
OLD_FILES+=usr/share/man/man1/rcsmerge.1.gz
OLD_FILES+=usr/share/man/man1/rlog.1.gz
OLD_FILES+=usr/share/man/man5/rcsfile.5.gz
OLD_FILES+=usr/share/man/man8/etcupdate.8.gz
.endif
#.if ${MK_RESCUE} == no

View File

@ -1,4 +1,6 @@
.\" $FreeBSD$
Set to not build
.Xr rcs 1
and related utilities.
,
.Xr etcupdate 8
, and related utilities.

View File

@ -26,7 +26,6 @@ SUBDIR= adduser \
digictl \
diskinfo \
dumpcis \
etcupdate \
extattr \
extattrctl \
fifolog \
@ -278,6 +277,10 @@ SUBDIR+= repquota
SUBDIR+= rwhod
.endif
.if ${MK_RCS} != "no"
SUBDIR+= etcupdate
.endif
.if ${MK_SENDMAIL} != "no"
SUBDIR+= editmap
SUBDIR+= mailstats