Ignore:
Timestamp:
Jan 16, 2015, 2:47:18 AM (4 years ago)
Author:
jeremyhu@…
Message:

misc: Obsolete xnu-headers, libc-headers, libm-headers, and CarbonHeaders (#46521)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl

    r102028 r131699  
    4545supported_archs noarch
    4646
    47 description     this port is only a stub and has been made obsolete by ${replaced_by}
     47if {[info exists replaced_by]} {
     48    description     this port is only a stub and has been made obsolete by ${replaced_by}
     49} else {
     50    description     this port is only a stub and has been made obsolete without replacement.
     51}
    4852default long_description ${description}
    4953
     
    5458
    5559pre-configure {
    56     ui_error "${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead."
     60    if {[info exists replaced_by]} {
     61        ui_error "${subport} has been made obsolete by the port ${replaced_by}. Please install ${replaced_by} instead."
     62    } else {
     63        ui_error "${subport} is an obsolete port.  Please uninstall it."
     64    }
    5765    return -code error "obsolete port"
    5866}
Note: See TracChangeset for help on using the changeset viewer.