source: trunk/dports/devel/xmlrpc-c/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                xmlrpc-c
7version             1.16.42
8revision            1
9categories          devel www
10# tools/turbocharger is Apache-1
11license             BSD MIT Apache-1
12platforms           darwin
13maintainers         nomaintainer
14
15description         Lightweight RPC library based on XML and HTTP
16
17long_description    XML-RPC is a quick-and-easy way to make procedure calls \
18                    over the Internet. It converts the procedure call into \
19                    XML document, sends it to a remote server using HTTP, and \
20                    gets back the response as XML. \
21                    This library provides a modular implementation of XML-RPC \
22                    for C and C++.
23
24homepage            http://xmlrpc-c.sourceforge.net/
25master_sites        sourceforge:project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/${version}
26
27checksums           sha1    7a71fabc652c2848a7226605432a2e420a02dff0 \
28                    rmd160  945fb092152a8ff139407ce1e80da9803b5afdce \
29                    sha256  6eaf6d4ceba41ad6b47d7e4321afab8fbb18998d9d16655b73242496f759b59b
30
31extract.suffix      .tgz
32
33depends_lib         port:libwww \
34                    path:lib/libssl.dylib:openssl \
35                    port:curl
36
37variant universal {}
38
39configure.cc-append [get_canonical_archflags cc]
40configure.cxx-append [get_canonical_archflags cxx]
41configure.env-append CPP=${configure.cpp}
42
43platform darwin {
44    patchfiles-append config.mk.in.diff configure.diff
45}
46
47post-patch {
48    reinplace "s:#include <curl/types.h>::" \
49        ${worksrcpath}/lib/curl_transport/curlmulti.c \
50        ${worksrcpath}/lib/curl_transport/curltransaction.c \
51        ${worksrcpath}/lib/curl_transport/xmlrpc_curl_transport.c
52}
53
54livecheck.type      sourceforge
55livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.