Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 12:12:22 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/174051: [patch] Make tcsh compilation optional at top-level make
Message-ID:  <201212021212.qB2CCMlf030432@red.freebsd.org>
Resent-Message-ID: <201212021220.qB2CK1If055058@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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