Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 1995 16:40:05 -0700
From:      Stephen McKay <syssgm@devetir.qld.gov.au>
To:        freebsd-bugs
Subject:   bin/391: usr.sbin/xten only compiles when in /usr/src
Message-ID:  <199505092340.QAA29559@freefall.cdrom.com>
In-Reply-To: Your message of Tue, 9 May 1995 19:52:48 %2B1000 <199505090952.TAA19339@stupid.devetir.qld.gov.au>

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

>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 \

>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:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505092340.QAA29559>