Ticket #10919: darwinports.tcl.diff

File darwinports.tcl.diff, 2.1 KB (added by elcascador@…, 18 years ago)

darwinports.tcp patch

  • darwinports.tcl

    old new  
    3737
    3838namespace eval darwinports {
    3939    namespace export bootstrap_options portinterp_options open_dports ui_priorities
    40     variable bootstrap_options "portdbpath libpath binpath auto_path extra_env sources_conf prefix portdbformat portinstalltype portarchivemode portarchivepath portarchivetype portautoclean porttrace portverbose destroot_umask variants_conf rsync_server rsync_options rsync_dir startupitem_type xcodeversion xcodebuildcmd"
    41     variable portinterp_options "portdbpath portpath portbuildpath auto_path prefix portsharepath registry.path registry.format registry.installtype portarchivemode portarchivepath portarchivetype portautoclean porttrace portverbose destroot_umask rsync_server rsync_options rsync_dir startupitem_type"
     40    variable bootstrap_options "portdbpath libpath binpath auto_path extra_env sources_conf prefix portdbformat portinstalltype portarchivemode portarchivepath portarchivebinhost portarchivetype portautoclean porttrace portverbose destroot_umask variants_conf rsync_server rsync_options rsync_dir startupitem_type xcodeversion xcodebuildcmd"
     41    variable portinterp_options "portdbpath portpath portbuildpath auto_path prefix portsharepath registry.path registry.format registry.installtype portarchivemode portarchivepath portarchivebinhost portarchivetype portautoclean porttrace portverbose destroot_umask rsync_server rsync_options rsync_dir startupitem_type"
    4242    # deferred options are only computed when needed.
    4343    # they are not exported to the trace thread.
    4444    # they are not exported to the interpreter in system_options array.
     
    365365                set darwinports::portarchivepath [file join $portdbpath packages]
    366366                global darwinports::portarchivepath
    367367        }
    368        
     368        # Binhost location
     369        if {![info exists portarchivebinhost]} {
     370                set darwinports::portarchivebinhost "http://mac.vandeplas.com/packages"
     371                global darwinports::portarchivebinhost
     372        }
    369373        if {$portarchivemode == "yes"} {
    370374                if {![file isdirectory $portarchivepath]} {
    371375                        if {![file exists $portarchivepath]} {