From owner-svn-src-projects@FreeBSD.ORG Mon Dec 8 07:43:03 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BFD621B; Mon, 8 Dec 2014 07:43:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5015284F; Mon, 8 Dec 2014 07:43:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB87h3bl044020; Mon, 8 Dec 2014 07:43:03 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB87h3j9044019; Mon, 8 Dec 2014 07:43:03 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201412080743.sB87h3j9044019@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Mon, 8 Dec 2014 07:43:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r275601 - projects/building-blocks X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2014 07:43:03 -0000 Author: ngie Date: Mon Dec 8 07:43:02 2014 New Revision: 275601 URL: https://svnweb.freebsd.org/changeset/base/275601 Log: - Document why usr.bin/vi needs to be built as part of bootstrap-tools - Do not build usr.bin/vi as part of bootstrap-tools if NO_SHARE is defined as share/termcap will be skipped if NO_SHARE is defined; that being said, something needs to be done for dealing with make distribute as it will be built via make distribute if not done during make buildworld. - Add -DNO_SHARE to NOFUN to deal with make xdev because of the fact that it implements a partial make buildworld/make installworld, but because it doesn't define everything, not all install paths exist in expected stages, which results in build failures with usr.bin/vi in bootstrap-tools because "WORLDTMP" is not fully populated when _xb-bootstrap-tools is run. tl;dr: this is enough to just make sure that make xdev isn't broken on this branch when MK_VI == no and make delete-old has been run on the build host Modified: projects/building-blocks/Makefile.inc1 Modified: projects/building-blocks/Makefile.inc1 ============================================================================== --- projects/building-blocks/Makefile.inc1 Mon Dec 8 07:33:11 2014 (r275600) +++ projects/building-blocks/Makefile.inc1 Mon Dec 8 07:43:02 2014 (r275601) @@ -1388,6 +1388,8 @@ build-tools: .MAKE ${MAKE} DIRPRFX=${_tool}/ depend && \ ${MAKE} DIRPRFX=${_tool}/ all .endfor + # usr.bin/vi is required to process files in share/termcap +.if !defined(NO_SHARE) .for _tool in \ usr.bin/vi ${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \ @@ -1397,6 +1399,7 @@ build-tools: .MAKE ${MAKE} DIRPRFX=${_tool}/ all MK_MAN=no SUBDIR= && \ ${MAKE} DIRPRFX=${_tool}/ install MK_MAN=no SUBDIR= DESTDIR=${WORLDTMP}/ .endfor +.endif # # kernel-tools: Build kernel-building tools @@ -2014,7 +2017,7 @@ NOFUN=-DNO_FSCHG MK_HTML=no MK_INFO=no - MK_KERBEROS=no MK_RESCUE=no MK_TESTS=no MK_WARNS=no \ MK_VI=no \ TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ - CPUTYPE=${XDEV_CPUTYPE} + CPUTYPE=${XDEV_CPUTYPE} -DNO_SHARE XDDIR=${TARGET_ARCH}-freebsd XDTP?=/usr/${XDDIR}