Commits

Marius Schamschula authored and Daniel J. Luke committed 5ddb6e45c74
apr-util, mod_qos, subversion: use Berkeley db48, add mode line

See: https://trac.macports.org/ticket/57707 subversion: use db48 subversion-bindings: use db48
No tags

devel/apr-util/Portfile

Modified
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 +
1 3 PortSystem 1.0
2 4
3 5 name apr-util
4 6 version 1.6.1
5 -revision 1
7 +revision 2
6 8 categories devel
7 9 maintainers {geeklair.net:dluke @danielluke}
8 10 platforms darwin
9 11 description utilities built with the apache group's portability library
10 12 license Apache-2
11 13
12 14 long_description apr-util is a library of useful utilities built with \
13 15 and intended to be used with the Apache Portable Runtime.
14 16
15 17 homepage http://apr.apache.org/
16 18 master_sites apache:apr
17 19 use_bzip2 yes
18 20 checksums md5 8ff5dc36fa39a2a3db1df196d3ed6086 \
19 21 sha1 4cc73bc36ca697419f555476f2fc1c63df6069f4 \
20 22 rmd160 6fb156f827980f21ff9f59039529d55bda824e93 \
21 23 sha256 d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b \
22 24 size 428595
23 25
24 26 depends_lib port:apr port:expat \
25 - port:libiconv port:db46 \
27 + port:libiconv port:db48 \
26 28 port:sqlite3
27 29
28 30 use_parallel_build yes
29 31 configure.ccache no
30 32 configure.args --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \
31 - --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db46 \
33 + --with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db48 \
32 34 --without-mysql --without-pgsql --without-sqlite2 --with-sqlite3=${prefix} \
33 35 --without-odbc
34 36
35 37 test.run yes
36 38 test.target check
37 39 test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
38 40 pre-test {
39 41 use_parallel_build no
40 42 }
41 43
42 44
43 45 variant no_bdb description {Build without BerkeleyDB support} {
44 - depends_lib-delete port:db46
45 - configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db46
46 + depends_lib-delete port:db48
47 + configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db48
46 48 configure.args-append --without-berkeley-db
47 49 }
48 50
49 51 variant no_sqlite description {Build without sqlite support} {
50 52 depends_lib-delete port:sqlite3
51 53 configure.args-delete --with-sqlite3=${prefix}
52 54 configure.args-append --without-sqlite2 \
53 55 --without-sqlite3
54 56 }
55 57
56 58 variant openldap description {Build with OpenLDAP support} {
57 59 depends_lib-append port:openldap
58 60 configure.args-append --with-ldap \
59 61 --with-ldap-include=${prefix}/include \
60 62 --with-ldap-lib=${prefix}/lib
61 63 }
62 64
63 -set extralibs "-L${prefix}/lib/db46"
65 +set extralibs "-L${prefix}/lib/db48"
64 66
65 67 pre-configure {
66 68 reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in
67 69 }
68 70
69 71 if {[variant_isset universal]} {
70 72 pre-build {
71 73 build.args EXTRA_CFLAGS='${configure.universal_cflags}' \
72 74 EXTRA_LDFLAGS='${configure.universal_ldflags}'
73 75 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut