Ticket #52481: patch-kdepimlibs4.diff
File patch-kdepimlibs4.diff, 1.6 KB (added by NicosPavlov, 8 years ago) |
---|
-
Portfile
6 6 7 7 name kdepimlibs4 8 8 version 4.14.3 9 revision 49 revision 5 10 10 categories kde kde4 11 11 maintainers nicos 12 12 license GPL-2+ LGPL-2+ BSD … … 41 41 port:gpgme 42 42 43 43 #Suppress build of kioslaves which conflict with openssl 44 patchfiles-append patch-CMakeLists.diff \ 45 patch-gpgme.diff \ 46 patch-qgpgme.diff \ 47 patch-testqgpgme.diff 44 patchfiles-append patch-CMakeLists.diff 48 45 49 46 configure.args-append -DMAILTRANSPORT_INPROCESS_SMTP=Off 50 47 51 48 pre-configure { 52 49 #Deactivating gpgme++ to avoid conflict with gpgme port 53 reinplace "s|add_subdirectory(gpgme++)|#add_subdirectory(gpgme++)|g" \ 54 ${worksrcpath}/CMakeLists.txt 55 reinplace "s|%PREFIX%|${prefix}/lib|g" \ 56 ${worksrcpath}/qgpgme/CMakeLists.txt 57 reinplace "s|%PREFIX%|${prefix}/lib|g" \ 58 ${worksrcpath}/qgpgme/tests/CMakeLists.txt 50 reinplace "s|%PREFIX%|${prefix}|g" \ 51 ${worksrcpath}/gpgme++/CMakeLists.txt 59 52 } 60 53 61 54 pre-activate { … … 66 59 } 67 60 } 68 61 62 post-destroot { 63 #Move headers only in case of main port 64 if {${subport} eq ${name}} { 65 #Move internal gpgme headers out of the way 66 file mkdir ${destroot}${prefix}/include/KDE4 67 move ${destroot}${prefix}/include/gpgme++ \ 68 ${destroot}${prefix}/include/kde4/gpgme++ 69 } 70 } 71 69 72 subport kdepimlibs4-kioslaves { 70 73 71 74 #kioslaves components conflict with openssl license