Changeset 36953


Ignore:
Timestamp:
May 21, 2008, 2:22:04 AM (12 years ago)
Author:
raimue@…
Message:

macports1.0/macports.tcl:
Give the worker access to variable porturl and proc getsourceconfigdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/variant-descs-14482/base/src/macports1.0/macports.tcl

    r34852 r36953  
    4949    variable user_options "submitter_name submitter_email submitter_key"
    5050    variable portinterp_options "\
    51         portdbpath portpath portbuildpath auto_path prefix prefix_frozen x11prefix portsharepath \
     51        portdbpath porturl portpath portbuildpath auto_path prefix prefix_frozen x11prefix portsharepath \
    5252        registry.path registry.format registry.installtype portarchivemode portarchivepath \
    5353        portarchivetype portautoclean porttrace portverbose destroot_umask rsync_server \
     
    699699}
    700700
    701 proc macports::worker_init {workername portpath portbuildpath options variations} {
     701proc macports::worker_init {workername portpath porturl portbuildpath options variations} {
    702702    global macports::portinterp_options macports::portinterp_deferred_options registry.installtype
    703703
     
    738738    $workername alias macports_create_thread macports::create_thread
    739739    $workername alias getportworkpath_from_buildpath macports::getportworkpath_from_buildpath
     740    $workername alias getsourceconfigdir macports::getsourceconfigdir
    740741
    741742    # New Registry/Receipts stuff
     
    962963    ditem_key $mport refcnt 1
    963964   
    964     macports::worker_init $workername $portpath [macports::getportbuildpath $portpath] $options $variations
     965    macports::worker_init $workername $portpath $porturl [macports::getportbuildpath $portpath] $options $variations
    965966
    966967    $workername eval source Portfile
Note: See TracChangeset for help on using the changeset viewer.