From owner-freebsd-current Tue Jan 18 2:21:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from kbtfw.kubota.co.jp (kbtfw.kubota.co.jp [133.253.102.202]) by hub.freebsd.org (Postfix) with ESMTP id 0BE08150B6 for ; Tue, 18 Jan 2000 02:21:21 -0800 (PST) (envelope-from haro@tk.kubota.co.jp) Received: by kbtfw.kubota.co.jp; id TAA20421; Tue, 18 Jan 2000 19:21:16 +0900 (JST) Received: from unknown(133.253.31.1) by kbtfw.kubota.co.jp via smap (V4.2) id xma020368; Tue, 18 Jan 00 19:21:00 +0900 Received: (from uucp@localhost) by lemond.gkn.kubota.co.jp (8.9.3+3.2W/3.7W00010501) with UUCP id TAA15699 for freebsd-current@freebsd.org; Tue, 18 Jan 2000 19:21:00 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by jkpc15.tk.kubota.co.jp (8.9.3/3.7W-uucp) with ESMTP id TAA00704 for ; Tue, 18 Jan 2000 19:14:19 +0900 (JST) To: freebsd-current@freebsd.org Subject: Is texinfo needed for buildworld with -DNOINFO ? X-Mailer: Mew version 1.94 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20000118191419G.haro@tk.kubota.co.jp> Date: Tue, 18 Jan 2000 19:14:19 +0900 From: haro@tk.kubota.co.jp (Munehiro Matsuda) X-Dispatcher: imput version 990905(IM130) Lines: 36 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, It seems that texinfo is compiled as cross-tools for buildworld. But, is it really needed when -DNOINFO has been specified? Following patch seems to work for me. --- Makefile.inc1.ctm Tue Jan 18 03:15:10 2000 +++ Makefile.inc1 Tue Jan 18 10:21:06 2000 @@ -527,11 +527,14 @@ .if ${TARGET_ARCH} == "i386" && ${MACHINE} == "pc98" _aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld .endif +.if !defined(NOINFO) +_info_tools= gnu/usr.bin/texinfo +.endif cross-tools: .for _tool in ${_aout_tools} ${_btxld} ${_elf2exe} usr.bin/genassym \ usr.bin/gensetdefs gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc \ - gnu/usr.bin/texinfo + ${_info_tools} cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ ${MAKE} depend; \ Thank you, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Office of Business Planning & Developement, Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103, Japan Tel: +81-3-3245-3318 Fax: +81-3-32454-3315 Email: haro@tk.kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message