Index: tcl/patchscripts/fix-crosscompile.sh ================================================================== --- tcl/patchscripts/fix-crosscompile.sh +++ tcl/patchscripts/fix-crosscompile.sh @@ -54,14 +54,26 @@ ;; *-aix[0-9].*) sysname="AIX" sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-aix\([0-9]\..*\)@\1@')" ;; + *-*-darwin*) + sysname="Darwin" + sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-darwin\([0-9]*\)@\1@')" + ;; esac # Determine machine information case "${KC_CROSSCOMPILE_HOST_OS}" in + x86_64-*-darwin*) + sysmachine="Intel" + syscpu="x86_64" + ;; + powerpc-*-darwin*) + sysmachine="Power Macintosh" + syscpu="powerpc" + ;; hppa64-*-hpux*) sysmachine="9000/859" ;; i386-*-solaris*) sysmachine="i86pc"