Ticket #59760: patch-olm-314.diff

File patch-olm-314.diff, 1.8 KB (added by kencu (Ken), 4 years ago)
  • devel/olm/Portfile

    diff --git devel/olm/Portfile devel/olm/Portfile
    index 08b21d7547f..cc51147c09c 100644
     
    11# -*- 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
    22
    33PortSystem          1.0
    4 PortGroup           cxx11 1.1
     4PortGroup           cmake 1.0
    55
    66name                olm
    7 version             2.3.0
     7version             3.1.4
    88categories          devel security
    99platforms           darwin
    1010maintainers         {@scarface-one disroot.org:scarface} openmaintainer
    long_description An implementation of the Double Ratchet cryptographic ratche 
    1616license             Apache-2
    1717homepage            http://git.matrix.org/git/olm/about/
    1818
    19 master_sites        http://git.matrix.org/git/olm/snapshot
     19master_sites        https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/
    2020
    21 checksums           rmd160  f848e0fe13866943c0af07a2cbbfc16aee6de229 \
    22                     sha256  533714fb84860e04c185790d16ef9085f15e902c2105db941d5c7e92b0565ef8 \
    23                     size    480801
     21checksums           rmd160  04922bc2e9571698cbfb6c8f11be33e764e46dcf \
     22                    sha256  1ca9926ce71d778fb7352d1ee77513194db8c7f49c0d69d38ac49ec3bafcea38 \
     23                    size    521495
    2424
    25 use_configure       no
     25compiler.cxx_standard 2011
    2626
    27 build.target        static
     27test.run            yes
     28test.dir            ${build.dir}/tests
     29test.cmd            ctest
    2830
    29 destroot {
    30     copy ${worksrcpath}/build/libolm.a ${destroot}${prefix}/lib/libolm.a
    31     copy ${worksrcpath}/include/olm ${destroot}${prefix}/include
    32 }
     31# changing this allows the tests to run, but does not change the install_name of the library
     32configure.args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF
     33 No newline at end of file