From owner-freebsd-bugs Tue Sep 5 18:30: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4F7D337B424 for ; Tue, 5 Sep 2000 18:30:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA04566; Tue, 5 Sep 2000 18:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id C64A237B423 for ; Tue, 5 Sep 2000 18:25:32 -0700 (PDT) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13WTxw-000G1H-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 06 Sep 2000 01:25:28 +0000 Message-Id: Date: Wed, 06 Sep 2000 01:25:28 +0000 From: Tony Finch Reply-To: Tony Finch To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/21070: default setting of ${SUP} in Makefile.inc1 doesn't work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21070 >Category: misc >Synopsis: default setting of ${SUP} in Makefile.inc1 doesn't work >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: Tue Sep 05 18:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Tony Finch >Release: FreeBSD 4.1-STABLE-20000831 i386 >Organization: dotat >Environment: FreeBSD hand.dotat.at 4.1-STABLE-20000831 FreeBSD 4.1-STABLE-20000831 #1: Fri Sep 1 04:51:19 UTC 2000 root@hand.dotat.at:/FreeBSD/obj/FreeBSD/releng4/sys/DELL-Latitude-CPx i386 >Description: cvsup is usually installed in /usr/local/bin /usr/src/Makefile sets the PATH to /sbin:/bin:/usr/sbin:/usr/bin before running Makefile.inc1 /usr/src/Makefile.inc1 sets SUP to just "cvsup" if it isn't already set The result of all this is not as helpful as it tries to be. >How-To-Repeat: Run `make update` with a make.conf containing a definition of SUPFILE but no definition of SUP. Make will then bomb when it fails to find cvsup. >Fix: Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.141.2.8 diff -u -r1.141.2.8 Makefile.inc1 --- Makefile.inc1 2000/08/23 19:27:30 1.141.2.8 +++ Makefile.inc1 2000/09/06 01:14:25 @@ -111,7 +111,7 @@ CLEANDIR= cleandir .endif -SUP?= cvsup +SUP?= /usr/local/bin/cvsup SUPFLAGS?= -g -L 2 -P - .if defined(SUPHOST) SUPFLAGS+= -h ${SUPHOST} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message