Ticket #52476: Portfile.diff
File Portfile.diff, 2.3 KB (added by 3add3287 (3add3287), 8 years ago) |
---|
-
Portfile
old new 5 5 6 6 name libtorrent 7 7 conflicts libtorrent-devel 8 version 0.13.2 9 revision 1 8 version 0.13.6 10 9 categories net 11 10 platforms darwin 12 11 maintainers gmail.com:stuartwesterman openmaintainer … … 18 17 *nix. It is designed to avoid redundant copying and \ 19 18 storing of data that other clients and libraries suffer from. 20 19 21 homepage http ://libtorrent.rakshasa.no/22 master_sites ${homepage}downloads/20 homepage https://github.com/rakshasa/rtorrent/wiki 21 master_sites http://rtorrent.net/downloads/ 23 22 24 checksums rmd160 090e6af9b4318a6176064159f6a8f70ab708c7fe\25 sha256 ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f23 checksums rmd160 a143a0ef9e86cf989c2c7dff6c86a41d23ddc244 \ 24 sha256 2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04 26 25 27 26 depends_build port:pkgconfig 28 27 … … 32 31 configure.args --disable-debug \ 33 32 --enable-ipv6 \ 34 33 --with-kqueue 34 configure.cxxflags-append -std=c++11 35 35 36 patchfiles-append extra-clang.patch src_net_socket_set.patch src_torrent_connection_manager.patch 36 37 compiler.blacklist gcc-4.0 37 38 38 39 post-destroot { … … 41 42 xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \ 42 43 ${destroot}${docdir} 43 44 } 45 post-patch { 46 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e 's/tr1::/std::/g'" 47 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e 's/std::std::/std::/g'" 48 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e '/namespace tr1/d'" 49 system "find ${worksrcpath} \\( -name '*.h' -or -name '*.cc' \\) -type f -print0 | xargs -0 sed -i '' -e '/include/s,tr1/,,'" 50 reinplace "s/\.assign/.fill/" ${worksrcpath}/src/torrent/utils/extents.h ${worksrcpath}/src/torrent/utils/log.cc 51 } 44 52 45 53 if {${os.platform} eq "darwin" && ${os.major} <= 9} { 46 54 # currently broken, ticket #27289