Ticket #52177: Portfile-aria2.diff

File Portfile-aria2.diff, 1.5 KB (added by Schamschula (Marius Schamschula), 8 years ago)
  • Portfile

    old new  
    55PortGroup           github 1.0
    66PortGroup           cxx11 1.0
    77
    8 github.setup        aria2 aria2 1.24.0 release-
     8github.setup        aria2 aria2 1.26.1 release-
    99github.tarball_from releases
    1010categories          net
    1111platforms           darwin
     
    1717                   
    1818use_xz              yes
    1919
    20 checksums           rmd160  93fbad4ac7ace7ff7fc25d4dc6c1a6da57061e81 \
    21                     sha256  35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf37
     20checksums           rmd160  fef4bb96876b13e0e959c12a981240766cd75aa2 \
     21                    sha256  f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801
    2222
    2323depends_build       port:pkgconfig
    2424depends_lib         port:gettext port:libiconv port:gnutls port:libxml2
    2525
    26 # Remove for aria2 > 1.24.0. See https://github.com/aria2/aria2/issues/683
    27 patchfiles          patch-src-DHTGetPeersMessage.cc.diff
    28 
    2926# use_* must be defined after depends_*, otherwise the automatic dependencies
    3027# will be overwritten.
    3128# Alternatively, depends_*-append could be used.
    3229use_autoreconf      yes
    3330
    3431configure.cxxflags-append "-I${prefix}/include/libxml2"
     32configure.ldflags-append  "-L${prefix}/lib -lintl"
    3533configure.args      --with-gnutls --with-libgnutls-prefix=${prefix} \
    3634                    --with-libiconv-prefix=${prefix} \
    3735                    --with-libintl-prefix=${prefix} \