Changeset 30138 for trunk


Ignore:
Timestamp:
Oct 21, 2007, 11:49:44 AM (13 years ago)
Author:
jochen@…
Message:

allow build when older qt4 libraries are installed (in ${prefx}),
update sqlite variant to use system (MacPorts) sqlit3
bump revision

File:
1 edited

Legend:

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

    r30116 r30138  
    66name                qt4-mac
    77version             4.3.1
    8 revision            1
     8revision            2
    99categories          aqua
    1010homepage            http://www.trolltech.com
     
    3333configure.compiler  gcc-4.0
    3434configure.cmd       "echo yes | ./configure"
    35 configure.env       QMAKESPEC='' QTDIR=''
     35configure.env       QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''
    3636configure.pre_args
     37# See
     38#   http://doc.trolltech.com/qtopia4.3/buildsystem/over-configure-options-qt-1.html
     39# for options
    3740configure.args \
    3841    -v         \
     
    4952    -no-sql-sqlite      -no-nis         -no-cups        -nomake examples    \
    5053    -system-zlib        -largefile      -no-framework   -nomake demos       \
    51     -I${destroot}/${prefix}/include -L${destroot}/${prefix}/lib \
    52     -I${prefix}/include -L${prefix}/lib
     54    -I${worksrcpath}/include -I${prefix}/include \
     55    -L${worksrcpath}/lib -L${prefix}/lib
    5356
    54 build.env           QMAKESPEC='' QTDIR=''
     57build.env           QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="${worksrcpath}/lib"
    5558build.target        first
    5659
     
    7275        set minorver [strsed ${version} {s/\.[0-9]*$//}]
    7376        system "cd ${destroot}${prefix}/lib &&
     77
    7478            ln -s libqt-mt.${version}.dylib libqt.dylib &&
    7579            ln -s libqt-mt.${version}.dylib libqt.${majorver}.dylib &&
     
    108112        depends_lib-append      port:sqlite3
    109113        configure.args-delete   -no-sql-sqlite
    110         configure.args-append   -qt-sql-sqlite
     114        configure.args-append   -system-sqlite
    111115}
    112116
Note: See TracChangeset for help on using the changeset viewer.