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: [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to