Ticket #12153: macports-make.patch

File macports-make.patch, 1.9 KB (added by afb@…, 17 years ago)

macports-make.patch

  • base/configure.ac

     
    2424AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
    2525AC_PATH_PROG(BZIP2, [bzip2], [])
    2626AC_PATH_PROG(XAR, [xar], [])
     27AC_PATH_PROG(PMAKE, [pmake], [])
     28AC_PATH_PROG(GMAKE, [gmake], [])
    2729AC_PATH_PROG(OPEN, [open], [])
    2830
    2931# Define some precious variables allowing user to override PATH for some programs
     
    3537AC_ARG_VAR(GNUTAR, [path to gnutar command])
    3638AC_ARG_VAR(BZIP2, [path to bzip2 command])
    3739AC_ARG_VAR(XAR, [path to xar command])
     40AC_ARG_VAR(PMAKE, [path to pmake command])
     41AC_ARG_VAR(GMAKE, [path to gmake command])
    3842AC_ARG_VAR(OPEN, [path to open command])
    3943
    4044MP_TAR_NO_SAME_OWNER
  • base/src/port1.0/port_autoconf.tcl.in

     
    3636        variable rsync_path "@RSYNC@"
    3737        variable mtree_path "@MTREE@"
    3838        variable xar_path "@XAR@"
     39        variable pmake_path "@PMAKE@"
     40        variable gmake_path "@GMAKE@"
    3941        variable tar_command "@TAR_CMD@"
    4042        variable have_launchd "@HAVE_LAUNCHD@"
    4143        variable launchctl_path "@LAUNCHCTL@"
  • base/src/port1.0/portbuild.tcl

     
    5757        bsd {
    5858            if {[option os.platform] == "darwin"} {
    5959                return bsdmake
     60            } elseif {[option os.platform] == "freebsd"} {
     61                return make
    6062            } else {
    61                 return make
     63                return ${portutil::autoconf::pmake_path}
    6264            }
    6365        }
    6466        gnu {
    6567            if {[option os.platform] == "darwin"} {
    6668                return gnumake
     69            } elseif {[option os.platform] == "linux"} {
     70                return make
    6771            } else {
    68                 return gmake
     72                return ${portutil::autoconf::gmake_path}
    6973            }
    7074        }
    7175        pbx {