Ignore:
Timestamp:
Aug 12, 2010, 11:25:14 AM (9 years ago)
Author:
michaelld@…
Message:

Fix for ticket #26026. Instead of hard-wiring QCA information, use
PKG_CONFIG and let CMake figure it out. When using Qt's Phonon, use
#include <phonon...>, not <Phonon...>.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/kdenetwork4/Portfile

    r70442 r70520  
    3030depends_run-append  port:qca-ossl
    3131
    32 set qca_dir         ${prefix}/libexec/qt4-mac
     32post-extract {
     33    # change #include <Phonon...> to <phonon...> in all files that
     34    # contain that header.
     35    foreach item [exec grep -lr "Phonon" ${workpath}/${distname}] {
     36        reinplace "/#include/s@Phonon@phonon@" ${item}
     37    }
     38}
    3339
    34 configure.args-append   ../${distname} \
    35                         -DQCA2_LIBRARIES=${qca_dir}/lib/libqca.2.dylib \
    36                         -DQCA2_INCLUDE_DIR=${qca_dir}/include/QtCrypto
     40configure.args-append   ../${distname}
     41configure.pkg_config_path-append ${qt_dir}/lib/pkgconfig
    3742
    3843variant no_kopete conflicts libmsn xmms description "Do not install Kopete instant messaging client" {
Note: See TracChangeset for help on using the changeset viewer.