Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 20:07:08 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325772 - head
Message-ID:  <201711132007.vADK78Fw014676@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arichardson
Date: Mon Nov 13 20:07:08 2017
New Revision: 325772
URL: https://svnweb.freebsd.org/changeset/base/325772

Log:
  Only build the libmagic build-tools if MK_FILE != no
  
  Before this patch libmagic was always built in the build-tools phase
  even if -DWITHOUT_FILE was specified.
  
  Reviewed by:	emaste, jhb
  Approved by:	jhb (mentor)
  Differential Revision: https://reviews.freebsd.org/D12925

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Mon Nov 13 19:58:58 2017	(r325771)
+++ head/Makefile.inc1	Mon Nov 13 20:07:08 2017	(r325772)
@@ -1986,6 +1986,9 @@ _rescue=rescue/rescue
 .if ${MK_TCSH} != "no"
 _tcsh=bin/csh
 .endif
+.if ${MK_FILE} != "no"
+_libmagic=lib/libmagic
+.endif
 
 # kernel-toolchain skips _cleanobj, so handle cleaning up previous
 # build-tools directories if needed.
@@ -2002,7 +2005,7 @@ _bt_clean=	${CLEANDIR}
     ${_rescue} \
     ${_share} \
     usr.bin/awk \
-    lib/libmagic \
+    ${_libmagic} \
     usr.bin/mkesdb_static \
     usr.bin/mkcsmapper_static \
     usr.bin/vi/catalog \



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