Ignore:
Timestamp:
May 31, 2011, 2:41:23 PM (8 years ago)
Author:
pixilla@…
Message:

_resources/port1.0/group/qt4-1.0.tcl: Add qt_qmake_spec var with value macx-g++.
Add qmake QMAKESPEC env var to configure.env, build.env, destroot.env and cmake with value of qt_qmake_spec.

File:
1 edited

Legend:

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

    r75799 r79057  
    125125set qt_qmake_cmd        ${qt_dir}/bin/qmake
    126126
     127# standard qmake spec
     128global qt_qmake_spec
     129set qt_qmake_spec       macx-g++
     130
    127131# standard moc command location
    128132global qt_moc_cmd
     
    145149set qt_cmake_defines    \
    146150    "-DQT_QT_INCLUDE_DIR=${qt_includes_dir} \
     151     -DQT_QMAKESPEC=${qt_qmake_spec} \
    147152     -DQT_ZLIB_LIBRARY=${prefix}/lib/libz.dylib \
    148153     -DQT_PNG_LIBRARY=${prefix}/lib/libpng.dylib"
     
    160165configure.env-append    QTDIR=${qt_dir} \
    161166                        QMAKE=${qt_qmake_cmd} \
     167                        QMAKESPEC=${qt_qmake_spec} \
    162168                        MOC=${qt_moc_cmd}
    163169
     
    169175build.env-append        QTDIR=${qt_dir} \
    170176                        QMAKE=${qt_qmake_cmd} \
     177                        QMAKESPEC=${qt_qmake_spec} \
    171178                        MOC=${qt_moc_cmd}
    172179
     
    181188destroot.env-append     QTDIR=${qt_dir} \
    182189                        QMAKE=${qt_qmake_cmd} \
     190                        QMAKESPEC=${qt_qmake_spec} \
    183191                        MOC=${qt_moc_cmd} \
    184192                        INSTALL_ROOT=${destroot} \
Note: See TracChangeset for help on using the changeset viewer.