Ticket #3298: haiku_gcc2_osx.patch

File haiku_gcc2_osx.patch, 1.3 KB (added by VinDuv, 16 years ago)
  • buildtools/legacy/gcc/config.guess

     
    519519    i?86:BSD/386:*:* | *:BSD/OS:*:*)
    520520    echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
    521521    exit 0 ;;
     522    *:Darwin:*:*)
     523    echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
     524    exit 0 ;;
    522525    *:FreeBSD:*:*)
    523526        if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
    524527          echo ${UNAME_MACHINE}-unknown-freebsdelf
  • buildtools/legacy/gcc/Makefile.in

     
    141141    then echo $$r/m4/m4 ; \
    142142    else echo ${DEFAULT_M4} ; fi`
    143143
    144 MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
    145     then echo $$r/texinfo/makeinfo/makeinfo ; \
    146     else echo makeinfo ; fi`
     144MAKEINFO = `if [ -x /usr/bin/makeinfo ] ; \
     145    then echo makeinfo ; \
     146    else echo $$r/texinfo/makeinfo/makeinfo ; fi`
    147147
    148148# This just becomes part of the MAKEINFO definition passed down to
    149149# sub-makes.  It lets flags be given on the command line while still