MFC r278193:

Add MK_FILE to control whether or not to build file(1), libmagic(3), etc

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-03-01 22:07:54 +00:00
parent 31168d8048
commit 3cca748666
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=279506
4 changed files with 14 additions and 2 deletions

View File

@ -59,7 +59,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
libkvm \
${_libldns} \
liblzma \
libmagic \
${_libmagic} \
libmandoc \
libmemstat \
libmd \
@ -171,6 +171,10 @@ _libbsnmp= libbsnmp
_clang= clang
.endif
.if ${MK_FILE} != "no"
_libmagic= libmagic
.endif
.if ${MK_GPIB} != "no"
_libgpib= libgpib
.endif

View File

@ -280,6 +280,7 @@ __DEFAULT_YES_OPTIONS = \
ED_CRYPTO \
EE \
EXAMPLES \
FILE \
FINGER \
FLOPPY \
FMTREE \

View File

@ -0,0 +1,4 @@
.\" $FreeBSD$
Set to not build
.Xr file 1
and related programs.

View File

@ -45,7 +45,6 @@ SUBDIR= alias \
expand \
false \
fetch \
file \
find \
fmt \
fold \
@ -230,6 +229,10 @@ _clang= clang
SUBDIR+= ee
.endif
.if ${MK_FILE} != "no"
SUBDIR+= file
.endif
.if ${MK_FINGER} != "no"
SUBDIR+= finger
.endif