Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2000 01:25:28 +0000
From:      Tony Finch <dot@dotat.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/21070: default setting of ${SUP} in Makefile.inc1 doesn't work
Message-ID:  <E13WTxw-000G1H-00@hand.dotat.at>

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

>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 <dot@dotat.at>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13WTxw-000G1H-00>