1
0
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:
Enji Cooper 2015-02-04 10:24:40 +00:00
parent 11981695fc
commit c7b6816fa9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278193
4 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -83,6 +83,7 @@ __DEFAULT_YES_OPTIONS = \
ELFTOOLCHAIN_TOOLS \
EXAMPLES \
FDT \
FILE \
FINGER \
FLOPPY \
FMTREE \

View File

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

View File

@ -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