Date: Sun, 31 May 1998 18:29:10 +1000 (EST) From: Ian Holland <ianh@tortuga.com.au> To: current@FreeBSD.ORG Subject: bootstrap in make buildworld Message-ID: <199805310829.SAA18663@frabjous.tortuga.com.au>
next in thread | raw e-mail | index | archive | help
-current (CTM cvs-cur 4339)
During a "make buildworld" on the aforementioned source view, the make failed
with a syntax error on "yacc". Specifically, the "-o" option was not
recognised. It appeared that the local (installed) version of "yacc" was
being used: ie "yacc" from FreeBSD 2.2.5.
My assumption was that "yacc" needs to be bootstraped a la "lex", "xinstall",
etc. So, based on that assumption, I applied the following patch:
*** Makefile.orig Sun May 31 17:54:22 1998
--- Makefile Sun May 31 18:02:18 1998
***************
*** 488,493 ****
--- 488,496 ----
cd ${.CURDIR}/usr.bin/xinstall; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \
${MAKE} ${MK_FLAGS} all; \
${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
+ cd ${.CURDIR}/usr.bin/yacc; ${MAKE} ${MK_FLAGS} ${_DEPEND}; \
+ ${MAKE} ${MK_FLAGS} all; \
+ ${MAKE} ${MK_FLAGS} -B install ${CLEANDIR} ${OBJDIR}
cd ${.CURDIR}/usr.bin/lex; ${MAKE} bootstrap; \
${MAKE} ${MK_FLAGS} ${_DEPEND}; \
${MAKE} ${MK_FLAGS} -DNOLIB all; \
The version of the unadulterated Makefile was 1.190.
Caveat: this is my first run at -current, so I may be completely off base.
Feel free to point and chuckle.
--
Ian Holland In a world without fences,
ianh@tortuga.com.au Who needs Gates?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805310829.SAA18663>
