From owner-freebsd-bugs Tue May 9 18:48:26 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA03564 for bugs-outgoing; Tue, 9 May 1995 18:48:26 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA03553 for ; Tue, 9 May 1995 18:48:21 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id SAA06180; Tue, 9 May 1995 18:47:51 -0700 From: "Rodney W. Grimes" Message-Id: <199505100147.SAA06180@gndrsh.aac.dev.com> Subject: Re: bin/391: usr.sbin/xten only compiles when in /usr/src To: syssgm@devetir.qld.gov.au Date: Tue, 9 May 1995 18:47:51 -0700 (PDT) Cc: freebsd-bugs@freefall.cdrom.com In-Reply-To: <199505092340.QAA29559@freefall.cdrom.com> from "Stephen McKay" at May 9, 95 04:40:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2682 Sender: bugs-owner@FreeBSD.org Precedence: bulk Something is seriously wrong with your copy of the source tree, this was fixed long agao: gndrsh# cvs rlog Makefile |& more RCS file: /home/ncvs/src/usr.sbin/xten/Makefile,v Working file: Makefile ... ---------------------------- revision 1.2 date: 1995/01/17 15:07:13; author: jkh; state: Exp; lines: +1 -1 Make Makefile take a relative path for CFLAGS. Submitted by: Remy Card ---------------------------- ... gndrsh# cvs diff -c -r1.1 -r1.2 Makefile Index: Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/xten/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** 1.1 1994/10/22 09:55:42 --- 1.2 1995/01/17 15:07:13 *************** *** 2,8 **** PROG= xten SRCS= xten.c ! CFLAGS+=-I. -I/usr/src/libexec/xtend MAN1= xten.1 --- 2,8 ---- PROG= xten SRCS= xten.c ! CFLAGS+=-I. -I${.CURDIR}/../../libexec/xtend MAN1= xten.1 > > > >Number: 391 > >Category: bin > >Synopsis: usr.sbin/xten/Makefile references absolute /usr/src path. > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs (FreeBSD bugs mailing list) > >State: open > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue May 9 16:40:02 1995 > >Originator: Stephen McKay > >Organization: > None today, thank you. I'm on a diet. > >Release: FreeBSD 2.1.0-Development i386 > >Environment: > > -current as at 1995-05-09 03:32:01 (src-cur ctm#601) > > 386SX16, 4Mb ram, 80Mb IDE disk, src + obj via NFS > (Whole ensemble running just fine, thanks for asking!) > > >Description: > > usr.sbin/xten/Makefile references absolute path: /usr/src/libexec/xtend > > When doing a full grep of Makefiles to look for more villains, > I found the following bit of old debugging cruft at line 18 of > gnu/usr.bin/kgdb/ngdb.i386/Makefile: > > -I/usr/src/sys.newvm \ This still exists... I am about to commit the fix for it... > > >How-To-Repeat: > > Install your sources somewhere other than /usr/src. > > >Fix: > > --- usr.sbin/xten/Makefile Mon Apr 24 17:36:52 1995 > +++ usr.sbin/xten/Makefile.good Tue May 9 19:03:09 1995 > @@ -2,7 +2,7 @@ > > PROG= xten > SRCS= xten.c > -CFLAGS+=-I. -I/usr/src/libexec/xtend > +CFLAGS+=-I. -I${.CURDIR}/../../libexec/xtend > > MAN1= xten.1 > > > Stephen (first time send-pr, so be gentle!) > >Audit-Trail: > >Unformatted: > > > -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD