diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2015-02-04 10:24:40 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2015-02-04 10:24:40 +0000 |
commit | c7b6816fa9c3d3237052d8756012c131dfbbd8b0 (patch) | |
tree | a299f8553392b827e124e5d8453bcc20a005c3af /lib/Makefile | |
parent | 11981695fc234f86e6befc35f68303d49b032d97 (diff) | |
download | src-c7b6816fa9c3d3237052d8756012c131dfbbd8b0.tar.gz src-c7b6816fa9c3d3237052d8756012c131dfbbd8b0.zip |
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
Notes
Notes:
svn path=/head/; revision=278193
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index cd0f4a13c14a..c00af75f70b4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 |