mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
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:
parent
31168d8048
commit
3cca748666
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=279506
@ -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
|
||||
|
@ -280,6 +280,7 @@ __DEFAULT_YES_OPTIONS = \
|
||||
ED_CRYPTO \
|
||||
EE \
|
||||
EXAMPLES \
|
||||
FILE \
|
||||
FINGER \
|
||||
FLOPPY \
|
||||
FMTREE \
|
||||
|
4
tools/build/options/WITHOUT_FILE
Normal file
4
tools/build/options/WITHOUT_FILE
Normal file
@ -0,0 +1,4 @@
|
||||
.\" $FreeBSD$
|
||||
Set to not build
|
||||
.Xr file 1
|
||||
and related programs.
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user