Ticket #46952: akonadi-diff.patch
File akonadi-diff.patch, 3.2 KB (added by RJVB (René Bertin), 10 years ago) |
---|
-
devel/akonadi/Portfile
old new 1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 # $Id: Portfile 12 7727 2014-11-02 07:21:25Z nicos@macports.org $2 # $Id: Portfile 126425 2014-10-10 01:31:30Z nicos@macports.org $ 3 3 4 4 PortSystem 1.0 5 5 PortGroup kde4 1.1 6 6 PortGroup compiler_blacklist_versions 1.0 7 7 8 fetch.type git 9 git.url git://anongit.kde.org/akonadi 10 git.branch c733429f 11 8 12 name akonadi 9 version 1.13.0 10 revision 1 13 set akoversion 1.13.1 14 version ${akoversion}.20141210 11 15 categories devel kde kde4 12 16 maintainers nicos openmaintainer 13 17 license LGPL-2+ … … 15 19 long_description Akonadi is an extensible cross-desktop storage service \ 16 20 for PIM data and metadata providing concurrent read, write, and query access. 17 21 platforms darwin 18 homepage http://community.kde.org/KDE_PIM/Akonadi19 master_sites kde:stable/${name}/src/20 use_bzip2 yes22 # homepage http://community.kde.org/KDE_PIM/Akonadi 23 # master_sites kde:stable/${name}/src/ 24 # use_bzip2 yes 21 25 22 checksums rmd160 411e4e3b203cd9681b10d21af75806f723a687ec \23 sha256 8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd226 # checksums rmd160 411e4e3b203cd9681b10d21af75806f723a687ec \ 27 # sha256 8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2 24 28 25 29 depends_lib-append port:soprano \ 26 30 port:boost \ … … 177 181 default_variants +mariadb55 178 182 } 179 183 184 package require fileutil 180 185 post-patch { 181 186 # fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict 182 187 # with the 'utils.h' header installed by the cdparanoia port 188 # do this only on the files actually containing the pattern (which would also exclude the 189 # .git directory) 183 190 fs-traverse item ${workpath}/${distname} { 184 191 if {[file isfile ${item}]} { 185 reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item} 192 if {[::fileutil::grep "include.*utils.h" ${item}] != ""} { 193 reinplace "/include/s@\\(utils\\.h\\)@src/\\1@g" ${item} 194 } 186 195 } 187 196 } 188 197 reinplace "s|/Applications|${applications_dir}|" ${worksrcpath}/CMakeLists.txt 189 198 } 190 199 200 variant quiet description {Disable debug output to reduce chattyness} { 201 # mute akonadiserver which is usually overly chatty: 202 configure.cflags-append -DQT_NO_DEBUG_OUTPUT 203 configure.cxxflags-append -DQT_NO_DEBUG_OUTPUT 204 } 205 191 206 platform darwin { 192 207 #Deactivate tests for 10.8 and lower, as they require full C++11 support (ticket #45300) 193 208 patchfiles-append patch-tests.diff 194 209 configure.args-append -DAKONADI_BUILD_TESTS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF 195 196 210 if {${os.major} == 9} { 197 211 if {[info exists universal_target] && ${universal_target} == "10.4"} { 198 212 # Needed if compiling for 10.4 universal on 10.5