Ignore:
Timestamp:
Dec 13, 2010, 4:53:13 PM (9 years ago)
Author:
michaelld@…
Message:

kde 1.1 PortGroup: Add common / standard CMake configure defines that are used by multiple ports to avoid conflicts with non-MacPorts-installed Frameworks, headers, and libraries. For ports that do not require a define, it will be added to the CMakeCache.txt file but not used -- so, these do no harm if not needed; if needed, they explicitly define the use of MacPorts-provided libraries and headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/kde4-1.1.tcl

    r74238 r74340  
    106106}
    107107
    108 # standard configure args; virtuall all KDE ports use CMake and Qt4
     108# standard configure args; virtuall all KDE ports use CMake and Qt4.
    109109configure.args-append   -DBUILD_doc=OFF \
    110110                        -DBUILD_SHARED_LIBS=ON \
     
    112112                        -DKDE_DISTRIBUTION_TEXT="MacPorts\/Mac OS X" \
    113113                        ${qt_cmake_defines}
     114
     115# explicitly define certain headers and libraries, to avoid
     116# conflicts with those installed into system paths by the user.
     117configure.args-append   -DGETTEXT_INCLUDE_DIR=${prefix}/include \
     118                        -DGIF_INCLUDE_DIR=${prefix}/include \
     119                        -DJASPER_INCLUDE_DIR=${prefix}/include \
     120                        -DJASPER_LIBRARY=${prefix}/lib/libjasper.dylib \
     121                        -DJPEG_INCLUDE_DIR=${prefix}/include \
     122                        -DLIBINTL_INCLUDE_DIR=${prefix}/include \
     123                        -DPNG_PNG_INCLUDE_DIR=${prefix}/include \
     124                        -DPNG_LIBRARY=${prefix}/lib/libpng.dylib \
     125                        -DTIFF_INCLUDE_DIR=${prefix}/include \
     126                        -DLIBXSLT_INCLUDE_DIR=${prefix}/include \
     127                        -DLIBXSLT_LIBRARIES=${prefix}/lib/libxslt.dylib \
     128                        -DLIBEXSLT_LIBRARIES=${prefix}/lib/libexslt.dylib \
     129                        -DQCA2_INCLUDE_DIR=${prefix}/include/QtCrypto \
     130                        -DQCA2_LIBRARIES=${prefix}/lib/libqca.2.dylib \
     131                        -DDOCBOOKXSL_DIR=${prefix}/share/xml/ \
     132                        -DMYSQLD_EXECUTABLE=${prefix}/libexec/mysqld \
     133                        -DMYSQL_INCLUDE_DIR=${prefix}/include/mysql5/mysql \
     134                        -DMYSQL_LIB_DIR=${prefix}/lib/mysql5/mysql \
     135                        -DMYSQLCONFIG_EXECUTABLE=${prefix}/bin/mysql_config5
    114136
    115137# standard variant for building documentation
Note: See TracChangeset for help on using the changeset viewer.