Ticket #41003: gearman.diff

File gearman.diff, 1.6 KB (added by c9s (Yo-An Lin), 10 years ago)
  • dports/sysutils/gearmand/Portfile

    diff --git a/dports/sysutils/gearmand/Portfile b/dports/sysutils/gearmand/Portfile
    index d056194..5b65197 100644
    a b PortSystem 1.0 
    77PortGroup           muniversal 1.0
    88
    99name                gearmand
    10 version             0.41
    11 set branch          1.0
     10version             1.1.11
     11set branch          1.2
    1212categories          sysutils net devel
    1313platforms           darwin
    1414license             BSD
    maintainers medialize.de:rodney.rehm \ 
    3030homepage            http://gearman.org/
    3131master_sites        https://launchpad.net/gearmand/${branch}/${version}/+download/
    3232
    33 checksums           rmd160  f657d9ab210099e30077c529cc98fca6881ab64a \
    34                     sha256  eda6bc1f66a8f8d66394744b31ea975bd55f7ef2dfcc3698d7f9835a06ceb875
     33checksums           rmd160  f2832ba771d726e90446f56f20565a2588a5b178 \
     34                    sha256  a175cbdeabe8102796418a516532adad58abd5e355365c78b6a234e544655825
    3535
    3636depends_lib         port:boost \
    3737                    port:libevent
    startupitem.executable ${prefix}/sbin/gearmand -vv \ 
    116116livecheck.type      regexm
    117117livecheck.url       https://launchpad.net/${name}/+download
    118118livecheck.regex     (\[0-9.\]+) release</a>\\s+from the\\s+<a href="/gearmand/${branch}">${branch}</a> series
     119
     120platform darwin 9 {
     121    depends_build       port:gcc46
     122    configure.compiler  macports-gcc-4.6
     123    universal_variant   no
     124}
     125
     126platform darwin 13 {
     127    if {${os.major} >= 13} {
     128        post-patch {
     129            reinplace "s:tr1/::" ${worksrcpath}/libgearman-1.0/gearman.h
     130        }
     131    }
     132}