From 490921c3343f221a131fb27b71c32aa0ad343cd0 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 24 Aug 2015 14:31:05 +0200 Subject: [PATCH 144/257] Makefile.inc1: Respect WITHOUT_TCSH Obtained from: ElectroBSD --- Makefile.inc1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index df8c415be268..ba910a0cae49 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1759,8 +1759,13 @@ _gcc_tools= gnu/usr.bin/cc/cc_tools _rescue=rescue/rescue .endif +.if ${MK_TCSH} != "no" +_tcsh=bin/csh +.endif + +build-tools: .MAKE .for _tool in \ - bin/csh \ + ${_tcsh} \ bin/sh \ ${LOCAL_TOOL_DIRS} \ lib/ncurses/ncurses \ @@ -1911,7 +1916,7 @@ native-xtools: .PHONY bin/cat \ bin/chmod \ bin/cp \ - bin/csh \ + ${_tcsh} \ bin/echo \ bin/expr \ bin/hostname \ -- 2.11.0