mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
libcompat: Only build libmagic build tool if MK_FILE is yes.
Sponsored by: Dell EMC
This commit is contained in:
parent
12899612dd
commit
127b666cd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335218
|
@ -155,6 +155,9 @@ _LC_INCDIRS= \
|
||||||
lib/ncurses/ncursesw \
|
lib/ncurses/ncursesw \
|
||||||
${_LC_LIBDIRS.yes}
|
${_LC_LIBDIRS.yes}
|
||||||
|
|
||||||
|
.if ${MK_FILE} != "no"
|
||||||
|
_libmagic= lib/libmagic
|
||||||
|
.endif
|
||||||
.if ${MK_PMC} != "no" && ${TARGET_ARCH} == "amd64"
|
.if ${MK_PMC} != "no" && ${TARGET_ARCH} == "amd64"
|
||||||
_jevents= lib/libpmc/pmu-events
|
_jevents= lib/libpmc/pmu-events
|
||||||
.endif
|
.endif
|
||||||
|
@ -197,7 +200,7 @@ build${libcompat}: .PHONY
|
||||||
DIRPRFX=${_dir}/ ${_t}
|
DIRPRFX=${_dir}/ ${_t}
|
||||||
.endfor
|
.endfor
|
||||||
.endfor
|
.endfor
|
||||||
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw lib/libmagic ${_jevents}
|
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw ${_libmagic} ${_jevents}
|
||||||
${_+_}cd ${.CURDIR}/${_dir}; \
|
${_+_}cd ${.CURDIR}/${_dir}; \
|
||||||
WORLDTMP=${WORLDTMP} \
|
WORLDTMP=${WORLDTMP} \
|
||||||
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
|
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
|
||||||
|
|
Loading…
Reference in a new issue