Ticket #12153: macports-gmake.patch

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

macports-gmake.patch

  • 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 gmake_path "@GMAKE@"
    3940        variable tar_command "@TAR_CMD@"
    4041        variable have_launchd "@HAVE_LAUNCHD@"
    4142        variable launchctl_path "@LAUNCHCTL@"
  • base/src/port1.0/portbuild.tcl

     
    6565            if {[option os.platform] == "darwin"} {
    6666                return gnumake
    6767            } else {
    68                 return gmake
     68                return ${portutil::autoconf::gmake_path}
    6969            }
    7070        }
    7171        pbx {
  • base/configure.ac

     
    2323AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
    2424AC_PATH_PROG(BZIP2, [bzip2], [])
    2525AC_PATH_PROG(XAR, [xar], [])
     26AC_PATH_PROG(GMAKE, [gmake], [])
    2627AC_PATH_PROG(OPEN, [open], [])
    2728
    2829# Define some precious variables allowing user to override PATH for some programs
     
    3435AC_ARG_VAR(GNUTAR, [path to gnutar command])
    3536AC_ARG_VAR(BZIP2, [path to bzip2 command])
    3637AC_ARG_VAR(XAR, [path to xar command])
     38AC_ARG_VAR(GMAKE, [path to gmake command])
    3739AC_ARG_VAR(OPEN, [path to open command])
    3840
    3941MP_TAR_NO_SAME_OWNER