mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Add MK_FILE to control whether or not to build file(1), libmagic(3), etc
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
11981695fc
commit
c7b6816fa9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278193
@ -63,7 +63,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
|
||||
libkvm \
|
||||
${_libldns} \
|
||||
liblzma \
|
||||
libmagic \
|
||||
${_libmagic} \
|
||||
libmandoc \
|
||||
libmemstat \
|
||||
libmd \
|
||||
@ -195,6 +195,10 @@ _cuse= libcuse
|
||||
_libelftc= libelftc
|
||||
.endif
|
||||
|
||||
.if ${MK_FILE} != "no"
|
||||
_libmagic= libmagic
|
||||
.endif
|
||||
|
||||
.if ${MK_GPIO} != "no"
|
||||
_libgpio= libgpio
|
||||
.endif
|
||||
|
@ -83,6 +83,7 @@ __DEFAULT_YES_OPTIONS = \
|
||||
ELFTOOLCHAIN_TOOLS \
|
||||
EXAMPLES \
|
||||
FDT \
|
||||
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.
|
@ -48,7 +48,6 @@ SUBDIR= ${_addr2line} \
|
||||
expand \
|
||||
false \
|
||||
fetch \
|
||||
file \
|
||||
find \
|
||||
fmt \
|
||||
fold \
|
||||
@ -246,6 +245,10 @@ _size= size
|
||||
_strings= strings
|
||||
.endif
|
||||
|
||||
.if ${MK_FILE} != "no"
|
||||
SUBDIR+= file
|
||||
.endif
|
||||
|
||||
.if ${MK_FINGER} != "no"
|
||||
SUBDIR+= finger
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user