From owner-freebsd-doc@FreeBSD.ORG Fri Apr 16 04:40:03 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41C6D16A4CE for ; Fri, 16 Apr 2004 04:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 229C243D54 for ; Fri, 16 Apr 2004 04:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3GBe3bv061437 for ; Fri, 16 Apr 2004 04:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3GBe2wI061436; Fri, 16 Apr 2004 04:40:02 -0700 (PDT) (envelope-from gnats) Resent-Date: Fri, 16 Apr 2004 04:40:02 -0700 (PDT) Resent-Message-Id: <200404161140.i3GBe2wI061436@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C933A16A4CE for ; Fri, 16 Apr 2004 04:35:52 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B1B43D41 for ; Fri, 16 Apr 2004 04:35:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i3GBZjeH006603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 Apr 2004 12:35:45 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3GBZitP006602; Fri, 16 Apr 2004 12:35:44 +0100 (BST) (envelope-from matthew) Message-Id: <200404161135.i3GBZitP006602@happy-idiot-talk.infracaninophile.co.uk> Date: Fri, 16 Apr 2004 12:35:44 +0100 (BST) From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/65615: make.conf.5 documents non-existent MAKE_SHELL variable X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matthew Seaman List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 11:40:03 -0000 >Number: 65615 >Category: docs >Synopsis: make.conf.5 documents non-existent MAKE_SHELL variable >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 16 04:40:02 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.10-BETA i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.10-BETA FreeBSD 4.10-BETA #65: Thu Apr 15 21:47:54 BST 2004 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: make.conf(5) describes the MAKE_SHELL variable: MAKE_SHELL (str) Controls the shell used internally by make(1) to process the command scripts in makefiles. sh(1), ksh(1), and csh(1) all currently supported. but there appears to be no support anywhere in the sources for the use of that variable in Makefiles: % find /usr/src -type f -print | xargs grep MAKE_SHELL /usr/src/contrib/libreadline/doc/Makefile.in:SHELL = @MAKE_SHELL@ /usr/src/contrib/libreadline/CHANGELOG: - set MAKE_SHELL to /bin/sh and substitute into the Makefiles /usr/src/contrib/libreadline/CHANGELOG: - set SHELL from @MAKE_SHELL@ /usr/src/contrib/libreadline/Makefile.in:SHELL = @MAKE_SHELL@ /usr/src/contrib/libreadline/configure:MAKE_SHELL=/bin/sh /usr/src/contrib/libreadline/configure:s%@MAKE_SHELL@%$MAKE_SHELL%g /usr/src/contrib/libreadline/configure.in:MAKE_SHELL=/bin/sh /usr/src/contrib/libreadline/configure.in:AC_SUBST(MAKE_SHELL) /usr/src/contrib/libreadline/examples/Makefile.in:SHELL = @MAKE_SHELL@ /usr/src/contrib/libreadline/shlib/Makefile.in:SHELL = @MAKE_SHELL@ /usr/src/share/man/man5/make.conf.5:.It Va MAKE_SHELL /usr/src/share/man/man5/make.conf.5:MAKE_SHELL?=sh This functionality appears to be provided by the .SHELL pseudo target built into make(1). >How-To-Repeat: >Fix: --- make.conf.5.diff begins here --- --- make.conf.5.orig Fri Apr 16 11:49:20 2004 +++ make.conf.5 Fri Apr 16 11:49:59 2004 @@ -182,19 +182,6 @@ make's in .Pa /usr/src in this variable. -.It Va MAKE_SHELL -.Pq Vt str -Controls the shell used internally by -.Xr make 1 -to process the command scripts in makefiles. -.Xr sh 1 , -.Xr ksh 1 , -and -.Xr csh 1 -all currently supported. -.Bd -literal -offset indent -MAKE_SHELL?=sh -.Ed .It Va MTREE_FOLLOWS_SYMLINKS .Pq Vt str Set this to --- make.conf.5.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: