misc/179562: [PATCH] Add LOCAL_ITOOLS to ease site-specific modifications done to FreeBSD that might require more ITOOLS

Garrett Cooper yaneurabeya at gmail.com
Sat Jun 15 00:30:00 UTC 2013


>Number:         179562
>Category:       misc
>Synopsis:       [PATCH] Add LOCAL_ITOOLS to ease site-specific modifications done to FreeBSD that might require more ITOOLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 00:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r+c97ea43: Tue Jun 11 13:11:04 PDT 2013     gcooper at gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO  amd64
>Description:
Isilon requires additional ITOOLS in order to perform a build that aren't a part of the standard distribution set of ITOOLS. This adds support for a user-specifiable variable called LOCAL_ITOOLS for accomplishing that.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

>From 00de5169b2969ef44f8f93d57d500a02ea66b181 Mon Sep 17 00:00:00 2001
From: Garrett Cooper <yanegomi at gmail.com>
Date: Fri, 14 Jun 2013 17:19:10 -0700
Subject: [PATCH] Add LOCAL_ITOOLS so tools can be appended to ITOOLS if need
 be

This enables groups that modify some files to include more tools in the
ITOOLS set when running make distributeworld, etc as some commands which
are run might require additional TOOLS outside the base distribution defined
set

Sponsored-by: EMC Isilon
Submitted-by: Russell Cattelan <russell.cattelan at isilon.com>
Signed-off-by: Garrett Cooper <yanegomi at gmail.com>
---
 Makefile.inc1 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index a4b156f..1f37437 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -17,6 +17,7 @@
 #	-DNO_DOCUPDATE do not update doc in ${MAKE} update
 #	-DNO_CTF do not run the DTrace CTF conversion tools on built objects
 #	LOCAL_DIRS="list of dirs" to add additional dirs to the SUBDIR list
+#	LOCAL_ITOOLS="list of tools" to add additional tools to the ITOOLS list
 #	LOCAL_LIB_DIRS="list of dirs" to add additional dirs to libraries target
 #	LOCAL_MTREE="list of mtree files" to process to allow local directories
 #	    to be created before files are installed
@@ -752,7 +753,8 @@ _nmtree_itools=	nmtree
 ITOOLS=	[ awk cap_mkdb cat chflags chmod chown \
 	date echo egrep find grep id install ${_install-info} \
 	ln lockf make mkdir mtree ${_nmtree_itools} mv pwd_mkdb \
-	rm sed sh sysctl test true uname wc ${_zoneinfo}
+	rm sed sh sysctl test true uname wc ${_zoneinfo} \
+	${LOCAL_ITOOLS}
 
 #
 # distributeworld
-- 
1.8.2.3



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list