Changeset 1451


Ignore:
Timestamp:
Dec 17, 2002, 2:32:46 PM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Merge in worksrcdir related fix from HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/landonf-1_0/base/src/port1.0/portutil.tcl

    r1449 r1451  
    10731073}
    10741074
     1075# build the specified portfile with default workpath
     1076proc portfile_run {this} {
     1077    set portname [$this get name]
     1078        if {[portexec_int $portname install] == 0} {
     1079                portexec_int $portname clean
     1080    }
     1081}
     1082
    10751083# builds the specified port (looked up in the index) to the specified target
    10761084# doesn't yet support options or variants...
     
    10901098    set res [dportsearch ^$search_string\$]
    10911099    if {[llength $res] < 2} {
    1092         ui_error "Portfile $portname not found"
     1100        ui_error "Dependency $portname not found"
    10931101        return -1
    10941102    }
     
    11051113   
    11061114    return 0
    1107 }
    1108 
    1109 # build the specified portfile
    1110 proc portfile_run {this} {
    1111     set portname [$this get name]
    1112         if {[portexec $portname install] == 0} {
    1113                 portexec $portname clean
    1114     }
    11151115}
    11161116
Note: See TracChangeset for help on using the changeset viewer.