Changeset 59112


Ignore:
Timestamp:
Oct 9, 2009, 10:52:18 PM (10 years ago)
Author:
ryandesign@…
Message:

archcheck-1.0.tcl: Recommend rebuilding dependency universal not only when building current port universal but also when building current port for non-default arch

File:
1 edited

Legend:

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

    r59101 r59112  
    6464                ui_error "You cannot install ${name} for the architecture(s) ${requested_archs}"
    6565                ui_error "because ${file} only contains the architecture(s) ${file_archs}."
    66                 if {[variant_exists universal] && [variant_isset universal] && 1 == [llength ${file_archs}]} {
     66                # Recommend reinstalling dependency universal if dependency is not universal and
     67                # trying to install this port either universal or for non-default build_arch.
     68                if {1 == [llength ${file_archs}] && (([variant_exists universal] && [variant_isset universal]) || (${build_arch} != ${configure.build_arch}))} {
    6769                    ui_error "Try reinstalling the port that provides ${file} with the +universal variant."
    6870                }
Note: See TracChangeset for help on using the changeset viewer.