Ticket #25871: rtmpdump2.3.patch

File rtmpdump2.3.patch, 1.3 KB (added by kthenriksson@…, 13 years ago)
  • (a) Portfile.txt vs. (b) -

    a b  
    44PortSystem 1.0
    55
    66name                rtmpdump
    7 version             2.2
    8 revision            1
     7version             2.3
    98categories          www net
    109platforms           darwin
    1110depends_lib         port:openssl
     
    1918
    2019homepage            http://rtmpdump.mplayerhq.hu/
    2120master_sites        ${homepage}download/
     21extract.suffix      .tgz
    2222
    23 checksums           md5     1ce6753c95754d1a72b635d488757096 \
    24                     sha1    80ad4878b5b48c59cb6754fac31f811b8a7d399d \
    25                     rmd160  673e9baf426d8fe0d32471d101648660080e996d
    26 
    27 use_bzip2           yes
     23checksums           md5     eb961f31cd55f0acf5aad1a7b900ef59 \
     24                    sha1    b65ce7708ae79adb51d1f43dd0b6d987076d7c42 \
     25                    rmd160  1d48925e6567783806fa68819d6a695cd06138bc
    2826
    2927post-patch {
    30     reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
    31     reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
     28    reinplace "s|soname|dylib_install_name|" ${worksrcpath}/librtmp/Makefile
    3229}
     30
    3331use_configure       no
    3432
    35 build.target        osx
     33build.args          CC="${configure.cc}"
    3634
    3735destroot {
    3836    xinstall -m 755 -W ${worksrcpath} rtmpdump rtmpsuck rtmpsrv rtmpgw ${destroot}${prefix}/bin