Ticket #52177: Portfile-aria2.diff
File Portfile-aria2.diff, 1.5 KB (added by Schamschula (Marius Schamschula), 8 years ago) |
---|
-
Portfile
old new 5 5 PortGroup github 1.0 6 6 PortGroup cxx11 1.0 7 7 8 github.setup aria2 aria2 1.2 4.0release-8 github.setup aria2 aria2 1.26.1 release- 9 9 github.tarball_from releases 10 10 categories net 11 11 platforms darwin … … 17 17 18 18 use_xz yes 19 19 20 checksums rmd160 93fbad4ac7ace7ff7fc25d4dc6c1a6da57061e81\21 sha256 35a496d2704ffb07e0b0dcac16c6d9b2854327967f984218517403d187f7bf3720 checksums rmd160 fef4bb96876b13e0e959c12a981240766cd75aa2 \ 21 sha256 f4e64e9754af5e1c0ee1ee2a50c5fa5acbc180855909209c2ce0111e86c9a801 22 22 23 23 depends_build port:pkgconfig 24 24 depends_lib port:gettext port:libiconv port:gnutls port:libxml2 25 25 26 # Remove for aria2 > 1.24.0. See https://github.com/aria2/aria2/issues/68327 patchfiles patch-src-DHTGetPeersMessage.cc.diff28 29 26 # use_* must be defined after depends_*, otherwise the automatic dependencies 30 27 # will be overwritten. 31 28 # Alternatively, depends_*-append could be used. 32 29 use_autoreconf yes 33 30 34 31 configure.cxxflags-append "-I${prefix}/include/libxml2" 32 configure.ldflags-append "-L${prefix}/lib -lintl" 35 33 configure.args --with-gnutls --with-libgnutls-prefix=${prefix} \ 36 34 --with-libiconv-prefix=${prefix} \ 37 35 --with-libintl-prefix=${prefix} \