Ticket #12225: macports-freebsd-tclsh.patch

File macports-freebsd-tclsh.patch, 584 bytes (added by afb@…, 17 years ago)

macports-freebsd-tclsh.patch

  • base/aclocal.m4

     
    613613
    614614
    615615        case $host_os in
     616                freebsd*)
     617                        # FreeBSD installs a dummy tclsh (annoying)
     618                        # Look for a real versioned tclsh with threads first
     619                        # Look for a real versioned tclsh without threads second
     620                        AC_PATH_PROG([TCLSH], [tclsh${TCL_VERSION}-threads tclsh${TCL_VERSION} tclsh])
     621                        ;;
    616622                *)
    617623                        # Otherwise, look for a non-versioned tclsh
    618624                        AC_PATH_PROG([TCLSH], [tclsh tclsh${TCL_VERSION}])