source: trunk/dports/www/redland/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 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: 4.1 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
5name                redland
6version             1.0.15
7revision            1
8description         Redland RDF Library
9long_description    Redland is a set of free software libraries that provide \
10                    support for the Resource Description Framework (RDF).
11maintainers         pixilla openmaintainer
12license             {LGPL-2.1+ GPL-2+ Apache-2+}
13categories          www
14platforms           darwin
15homepage            http://librdf.org/
16master_sites        http://download.librdf.org/source/
17
18checksums           rmd160  5cd4eca23faf05348c2327f356980aa2f18accea \
19                    sha256  0e1f5825b6357c9b490da866c95ae1d895dbb5f445013d2511c37df822ee9ec6
20
21patchfiles          patch-configure.diff
22patch.pre_args      -p1
23
24depends_lib         port:curl \
25                    port:libiconv \
26                    port:libtool \
27                    port:libxml2 \
28                    port:libxslt \
29                    path:lib/libssl.dylib:openssl \
30                    port:raptor2 \
31                    port:rasqal \
32                    port:zlib
33
34# redland-config uses pkg-config
35depends_lib-append  port:pkgconfig
36
37configure.args      --with-bdb=no \
38                    --with-iodbc=no \
39                    --with-mysql=no \
40                    --with-postgresql=no \
41                    --with-sqlite=no \
42                    --with-threestore=no \
43                    --with-unixodbc=no \
44                    --with-virtuoso=no
45
46post-configure {
47    reinplace -E {s|-arch [a-z0-9_]+||g} \
48        ${worksrcpath}/redland-src-config \
49        ${worksrcpath}/redland.pc
50}
51
52test.run            yes
53test.target         check
54
55if {![variant_isset db44] && ![variant_isset db47]} {
56    default_variants +db46
57}
58
59variant db44 conflicts db46 db47 {
60    configure.args-delete   --with-bdb=no
61    configure.args-append   --with-bdb=${prefix} \
62                            --with-bdb-include=${prefix}/include/db44 \
63                            --with-bdb-lib=${prefix}/lib/db44
64    depends_lib-append      port:db44
65}
66
67variant db46 conflicts db44 db47 {
68    configure.args-delete   --with-bdb=no
69    configure.args-append   --with-bdb=${prefix} \
70                            --with-bdb-include=${prefix}/include/db46 \
71                            --with-bdb-lib=${prefix}/lib/db46
72    depends_lib-append      port:db46
73}
74
75variant db47 conflicts db44 db46 {
76    configure.args-delete   --with-bdb=no
77    configure.args-append   --with-bdb=${prefix} \
78                            --with-bdb-include=${prefix}/include/db47 \
79                            --with-bdb-lib=${prefix}/lib/db47
80    depends_lib-append      port:db47
81}
82
83variant mysql4 conflicts mysql5 {
84    configure.args-delete --with-mysql=no
85    depends_lib-append port:mysql4
86}
87
88variant mysql5 conflicts mysql4 {
89    configure.args-delete --with-mysql=no
90    configure.args-append --with-mysql=${prefix}/bin/mysql_config5
91    depends_lib-append path:bin/mysql_config5:mysql5
92}
93
94variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 postgresql83 {
95    configure.args-delete --with-postgresql=no
96    depends_lib-append port:postgresql7
97}
98
99variant postgresql80 conflicts postgresql7 postgresql81 postgresql82 postgresql83 {
100    configure.args-delete --with-postgresql=no
101    depends_lib-append port:postgresql80
102}
103
104variant postgresql81 conflicts postgresql7 postgresql80 postgresql82 postgresql83 {
105    configure.args-delete --with-postgresql=no
106    depends_lib-append port:postgresql81
107}
108
109variant postgresql82 conflicts postgresql7 postgresql80 postgresql81 postgresql83 {
110    configure.args-delete --with-postgresql=no
111    depends_lib-append port:postgresql82
112}
113
114variant postgresql83 conflicts postgresql7 postgresql80 postgresql81 postgresql82 {
115    configure.args-delete --with-postgresql=no
116    depends_lib-append port:postgresql83
117}
118
119variant sqlite3 {
120    configure.args-delete --with-sqlite=no
121    depends_lib-append port:sqlite3
122}
123livecheck.type      regex
124livecheck.url       ${master_sites}
125livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.