Ticket #52476: patch-20181027-kencu.diff

File patch-20181027-kencu.diff, 1.8 KB (added by kencu (Ken), 6 years ago)

a patch I used 20181027 to install libtorrent 0.13.7 on 10.6.8

  • net/libtorrent/Portfile

    diff --git a/net/libtorrent/Portfile b/net/libtorrent/Portfile
    index 72f84f4210..189f5220cf 100644
    a b  
    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
     4PortGroup           cxx11 1.1
     5PortGroup           github 1.0
     6
     7github.setup        rakshasa libtorrent 0.13.7 v
    48
    5 name                libtorrent
    69conflicts           libtorrent-devel
    7 version             0.13.2
    8 revision            1
    910categories          net
    1011platforms           darwin
    1112maintainers         nomaintainer
    long_description libTorrent is a BitTorrent library written in C++ for \ 
    1718                    *nix. It is designed to avoid redundant copying and \
    1819                    storing of data that other clients and libraries suffer from.
    1920
    20 homepage            http://libtorrent.rakshasa.no/
    21 master_sites        ${homepage}downloads/
    22 
    23 checksums           rmd160  090e6af9b4318a6176064159f6a8f70ab708c7fe \
    24                     sha256  ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f
     21checksums           rmd160  e0a6f01eac616cec788cb81995318e7b9fc7baac \
     22                    sha256  7de1c2e2ebb23ff0f13891f1f865a2ac6899141d8e662b269156c3cb11518a4d \
     23                    size    356972
    2524
    2625depends_build       port:pkgconfig
    2726
    2827depends_lib         path:lib/libssl.dylib:openssl \
    2928                    port:libsigcxx2
    3029
     30pre-configure {
     31    system -W ${worksrcpath} "./autogen.sh"
     32}
     33
    3134configure.args      --disable-debug \
    3235                    --enable-ipv6 \
    3336                    --with-kqueue
    3437
    35 compiler.blacklist  gcc-4.0
    36 
    3738post-destroot {
    3839    set docdir ${prefix}/share/doc/${name}
    3940    xinstall -d ${destroot}${docdir}