conf/174051: [patch] Make tcsh compilation optional at top-level make

Garrett Cooper yanegomi at gmail.com
Sun Dec 2 12:20:02 UTC 2012


>Number:         174051
>Category:       conf
>Synopsis:       [patch] Make tcsh compilation optional at top-level make
>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:   Sun Dec 02 12:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9-STABLE
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
The attached patch makes tcsh compilation rightfully optional in Makefile.inc1 because it currently is always built regardless of the MK_TCSH setting.
>How-To-Repeat:
cd /usr/src; make -DWITHOUT_TCSH buildworld
>Fix:


Patch attached with submission follows:

Index: Makefile.inc1
===================================================================
--- Makefile.inc1	(revision 243747)
+++ Makefile.inc1	(working copy)
@@ -1148,9 +1148,13 @@
 _rescue= rescue/rescue
 .endif
 
+.if ${MK_TCSH} != "no"
+_tcsh=		bin/csh
+.endif
+
 build-tools:
 .for _tool in \
-    bin/csh \
+    ${_tcsh} \
     bin/sh \
     ${_rescue} \
     ${LOCAL_TOOL_DIRS} \


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


More information about the freebsd-bugs mailing list