Ticket #53122: gpgme.2.diff
File gpgme.2.diff, 3.1 KB (added by RJVB (René Bertin), 8 years ago) |
---|
-
devel/gpgme/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name gpgme 7 version 1. 7.07 version 1.8.0 8 8 categories devel security crypto 9 9 license {LGPL-2.1+ GPL-3+} 10 10 maintainers schenkel.net:leonardo devans openmaintainer … … 22 22 master_sites gnupg 23 23 use_bzip2 yes 24 24 25 checksums rmd160 3159142bd912fe482566a78f48d19fe6a4d3221e\26 sha256 71f55fed0f2b3eaf7a606e59772aa645ce3ffff322d361ce359951b3f755cc4825 checksums rmd160 b21a322ddbaf160538267cf201aeec207b8287f6 \ 26 sha256 596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33 27 27 28 28 # either gnupg2 (the default) or gnupg21 is needed for running the unit tests 29 29 # and at runtime but does not link directly with gpgme … … 36 36 37 37 depends_run path:bin/gpg2:gnupg2 38 38 39 use_parallel_build no39 use_parallel_build yes 40 40 41 41 patchfiles patch-configure.ac.diff \ 42 42 patch-tests-gpg-Makefile.am.diff … … 58 58 # cpp bindings require libc++ 59 59 60 60 platform darwin { 61 patchfiles-append \ 62 patch-missing-prototypes.diff 61 63 if {${configure.cxx_stdlib} eq "libc++"} { 62 64 lappend languages cpp 63 65 } 66 post-configure { 67 reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool 68 } 64 69 } 65 70 66 configure.args --enable-languages="${languages}" \ 67 --enable-static 68 69 post-configure { 70 reinplace "s|CC -dynamiclib|CC -dynamiclib [get_canonical_archflags]|g" ${worksrcpath}/libtool 71 variant qt5 description {build Qt5 support (qgpgme)} {} 72 if {[variant_isset qt5]} { 73 set qt5.prefer_kde 1 74 PortGroup qt5 1.0 75 lappend languages qt 76 # rename libqgpgme to libq5gpgme to avoid conflicts with port:kdepimlibs4 77 # (and having to modify that port once more to co-exist with us). 78 # The library is found through CMake files (also modified), so well behaved 79 # software (presumably KF5) won't have issues with the non-standard name. 80 patchfiles-append \ 81 patch-libqgpgme-name.diff 71 82 } 72 83 84 configure.args --disable-dependency-tracking \ 85 --enable-languages="${languages}" \ 86 --enable-static 87 73 88 test.run yes 74 89 test.target check 75 90 … … 78 93 xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LESSER \ 79 94 ChangeLog INSTALL NEWS README THANKS TODO \ 80 95 ${destroot}${prefix}/share/doc/${name} 96 platform darwin { 97 if {[variant_isset qt5]} { 98 reinplace "s|.so|.dylib|g" ${destroot}${prefix}/lib/cmake/QGpgme/QGpgmeConfig.cmake 99 } 100 reinplace "s|@libsuffix@|.dylib|g" ${destroot}${prefix}/lib/cmake/Gpgmepp/GpgmeppConfig.cmake 101 reinplace "s|.so|.dylib|g" ${destroot}${prefix}/lib/cmake/Gpgmepp/GpgmeppConfig.cmake 102 } 81 103 } 82 104 83 105 # deactivate kdepimlibs4 earlier than 4.14.3_4 to avoid