Date: Tue, 9 May 1995 18:47:51 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: syssgm@devetir.qld.gov.au Cc: freebsd-bugs@freefall.cdrom.com Subject: Re: bin/391: usr.sbin/xten only compiles when in /usr/src Message-ID: <199505100147.SAA06180@gndrsh.aac.dev.com> In-Reply-To: <199505092340.QAA29559@freefall.cdrom.com> from "Stephen McKay" at May 9, 95 04:40:05 pm
index | next in thread | previous in thread | raw e-mail
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 <Remy.Card@masi.ibp.fr>
----------------------------
...
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505100147.SAA06180>
