Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 19:14:19 +0900
From:      haro@tk.kubota.co.jp (Munehiro Matsuda)
To:        freebsd-current@freebsd.org
Subject:   Is texinfo needed for buildworld with -DNOINFO ?
Message-ID:  <20000118191419G.haro@tk.kubota.co.jp>

next in thread | raw e-mail | index | archive | help
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




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