New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83391


Ignore:
Timestamp:
08/31/11 00:36:43 (4 years ago)
Author:
jmr@…
Message:

add SELFUPDATING variable to makefile to suppress message saying to selfupdate

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Makefile.in

    r81565 r83391  
    8787        $(TCLSH) src/images_to_archives.tcl "${macports_tcl_dir}" 
    8888endif 
     89ifndef SELFUPDATING 
    8990        @echo ""; echo "Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, add ${prefix}/bin to your PATH and run:"; echo "" 
    9091        @echo "sudo port -v selfupdate"; echo "" 
    9192        @echo "Please read \"man port\", the MacPorts guide at http://guide.macports.org/ and Wiki at https://trac.macports.org/ for full documentation."; echo "" 
     93else 
     94        @echo ""; echo "Congratulations, you have successfully upgraded the MacPorts system."; echo "" 
     95endif 
    9296 
    9397group:: 
  • trunk/base/src/macports1.0/macports.tcl

    r83271 r83391  
    30923092            # do the actual configure, build and installation of new base 
    30933093            ui_msg "Installing new MacPorts release in $prefix as $owner:$group; permissions $perms; Tcl-Package in $tclpackage\n" 
    3094             if { [catch { system "cd $mp_source_path && ${cc_arg}./configure $configure_args && make && make install" } result] } { 
     3094            if { [catch { system "cd $mp_source_path && ${cc_arg}./configure $configure_args && make && make install SELFUPDATING=1" } result] } { 
    30953095                return -code error "Error installing new MacPorts base: $result" 
    30963096            } 
Note: See TracChangeset for help on using the changeset viewer.