Changeset 100392 for trunk/dports/aqua


Ignore:
Timestamp:
Dec 10, 2012, 6:15:16 PM (7 years ago)
Author:
michaelld@…
Message:

qt4-mac : remove replacing of include/Qt headers with links when possible. Addresses ticket #37245.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/qt4-mac/Portfile

    r100203 r100392  
    1313conflicts           qt3 qt3-mac qt4-mac-devel
    1414version             4.8.4
    15 revision            1
     15revision            2
    1616categories          aqua
    1717platforms           macosx
     
    880880
    881881    }
    882 
    883     # if ${qt_includes_dir}/Qt was installed, then replace each header
    884     # with a link to its actual header when possible
    885 
    886     if {[file exists ${destroot}${qt_includes_dir}/Qt]} {
    887 
    888         foreach QtH [exec find ${destroot}${qt_includes_dir}/Qt | \
    889                          sed -e "1d" -e "s@${destroot}${qt_includes_dir}/Qt/@@g"] {
    890 
    891             # find the header
    892 
    893             set tH [exec find ${destroot}${qt_frameworks_dir} -name ${QtH} | \
    894                         sed -e "s@${destroot}@@g"]
    895 
    896             # if found ...
    897 
    898             if {${tH} != ""} {
    899 
    900                 # remove this header
    901 
    902                 file delete ${destroot}${qt_includes_dir}/Qt/${QtH}
    903 
    904                 # link it to the found header
    905 
    906                 ln -s ${tH} ${destroot}${qt_includes_dir}/Qt/${QtH}
    907 
    908             }
    909         }
    910     }
    911882}
    912883
Note: See TracChangeset for help on using the changeset viewer.