New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79112


Ignore:
Timestamp:
06/02/11 04:22:16 (4 years ago)
Author:
ryandesign@…
Message:

qt3: do the qt3-mac check in pre-build instead of pre-configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/qt3/Portfile

    r79111 r79112  
    121121                -plugin-sql-sqlite -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql 
    122122 
    123 pre-configure { 
     123use_configure       no 
     124 
     125#workaround for upgrade problem. 
     126pre-build { 
     127    if {[file exists ${prefix}/lib/libqassistantclient.a]} { 
     128        system "ranlib ${prefix}/lib/libqassistantclient.a" 
     129    } 
    124130    foreach {badport badfile} "qt3-mac ${prefix}/include/qt3/qt_mac.h" { 
    125131        if {[file exists ${badfile}]} { 
     
    128134            return -code error "${badport} is installed" 
    129135        } 
    130     } 
    131 } 
    132  
    133 use_configure       no 
    134  
    135 #workaround for upgrade problem. 
    136 pre-build { 
    137     if {[file exists ${prefix}/lib/libqassistantclient.a]} { 
    138         system "ranlib ${prefix}/lib/libqassistantclient.a" 
    139136    } 
    140137} 
Note: See TracChangeset for help on using the changeset viewer.