Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 20:09:58 -0400
From:      Ira Cooper <ilcooper@tasc.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Patch to 2.2.7-STABLE
Message-ID:  <199809030009.UAA10636@protopong.read.tasc.com>

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

to the makefile in src/usr.bin/compile_et apply:

--- cut here ---

--- Makefile.orig       Wed Sep  2 19:57:40 1998
+++ Makefile    Wed Sep  2 19:57:52 1998
@@ -2,7 +2,7 @@
 
 PROG=  compile_et
 SRCS=  compile_et.c error_table.y
-CFLAGS+=       -I. -I${.CURDIR}/../../lib/libcom_err
+CFLAGS+=       -I${.CURDIR}/../../lib/libcom_err -I.
 CLEANFILES+=   et_lex.lex.c y.tab.h
 DPADD+=        ${LIBL}
 LDADD+=        -ll

--- cut here ---

I don't know if this will allow the whole system to build because my
machine takes, 4hr. to build world... I'll finish it overnight.

If it suffers another break of the same type... a similar fix might get it.

Problem: error_table.h needed to be pulled from ${.CURDIR}/../../lib/libcom_err
and yacc via the current build process was generating it, and the build
using it, thus things broke.

BTW: This break was documented as a POSSIBLITY in the commit logs for 
bsd.dep.mk/bsd.prog.mk. :(  (The case of a shadowed include file.)

	-Ira


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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