Ticket #45300: patch-akonadi.diff

File patch-akonadi.diff, 903 bytes (added by RJVB (René Bertin), 10 years ago)

patch for the Portfile that deactivates the building of the unittests.

  • Portfile

    old new  
    188188}
    189189
    190190platform darwin 9 {
    191     if {[info exists universal_target] && ${universal_target} == "10.4"} {
    192 # Needed if compiling for 10.4 universal on 10.5
    193         post-configure {
    194             reinplace "s|#define HAVE_EXECINFO_H 1||" ${workpath}/build/config-akonadi.h
     191    if {${os.major} < 13} {
     192        patchfiles-append     patch-tests.diff
     193        configure.args-append -DAKONADI_BUILD_TESTS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF
     194    }
     195    if {${os.major} == 9} {
     196        if {[info exists universal_target] && ${universal_target} == "10.4"} {
     197        # Needed if compiling for 10.4 universal on 10.5
     198            post-configure {
     199                reinplace "s|#define HAVE_EXECINFO_H 1||" ${workpath}/build/config-akonadi.h
     200            }
    195201        }
    196202    }
    197203}