Ticket #52481: patch-kdepim4.diff

File patch-kdepim4.diff, 1.3 KB (added by NicosPavlov, 8 years ago)
  • Portfile

     
    77
    88name                kdepim4
    99version             4.14.3
    10 revision            1
     10revision            2
    1111categories          kde kde4
    1212maintainers         intevation.de:bjoern.ricks nicos
    1313license             GPL-2+ LGPL-2+
     
    4040#emulate-addTitle: Preventing menu crash in kmail (https://trac.macports.org/ticket/44798)
    4141patchfiles-append   patch-ktimetracker.diff \
    4242                    patch-emulate-addTitle.diff \
    43                     patch-CMakeLists-disableKleo.diff
     43                    patch-CMakeLists-disableKleo.diff \
     44                    patch-internal-gpgme.diff
     45
    4446#Disabling kleopatra which does not build with boost >= 1.57.
    4547#See https://bugs.kde.org/show_bug.cgi?id=341355
    4648
     49pre-configure {
     50    reinplace "s|%PREFIX%|${prefix}|g" \
     51        ${worksrcpath}/libkleo/CMakeLists.txt
     52    reinplace "s|%PREFIX%|${prefix}|g" \
     53        ${worksrcpath}/kaddressbook/CMakeLists.txt
     54    reinplace "s|%PREFIX%|${prefix}|g" \
     55        ${worksrcpath}/messagecomposer/CMakeLists.txt
     56}
     57
    4758if {![variant_isset docs]} {
    4859    depends_lib-delete  port:dblatex
    4960    patchfiles-append   patch-CMakeLists.diff