Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 17:03:57 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335218 - head
Message-ID:  <201806151703.w5FH3vN9032440@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Jun 15 17:03:57 2018
New Revision: 335218
URL: https://svnweb.freebsd.org/changeset/base/335218

Log:
  libcompat: Only build libmagic build tool if MK_FILE is yes.
  
  Sponsored by:	Dell EMC

Modified:
  head/Makefile.libcompat

Modified: head/Makefile.libcompat
==============================================================================
--- head/Makefile.libcompat	Fri Jun 15 17:03:49 2018	(r335217)
+++ head/Makefile.libcompat	Fri Jun 15 17:03:57 2018	(r335218)
@@ -155,6 +155,9 @@ _LC_INCDIRS=	\
 		lib/ncurses/ncursesw \
 		${_LC_LIBDIRS.yes}
 
+.if ${MK_FILE} != "no"
+_libmagic=	lib/libmagic
+.endif
 .if ${MK_PMC} != "no" && ${TARGET_ARCH} == "amd64"
 _jevents=	lib/libpmc/pmu-events
 .endif
@@ -197,7 +200,7 @@ build${libcompat}: .PHONY
 	    DIRPRFX=${_dir}/ ${_t}
 .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}; \
 	    WORLDTMP=${WORLDTMP} \
 	    MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806151703.w5FH3vN9032440>