maintainers {geeklair.net:dluke @danielluke}
description utilities built with the apache group's portability library
long_description apr-util is a library of useful utilities built with \
and intended to be used with the Apache Portable Runtime.
homepage http://apr.apache.org/
checksums md5 8ff5dc36fa39a2a3db1df196d3ed6086 \
sha1 4cc73bc36ca697419f555476f2fc1c63df6069f4 \
rmd160 6fb156f827980f21ff9f59039529d55bda824e93 \
sha256 d3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b
depends_lib port:apr port:expat \
port:libiconv port:db46 \
configure.args --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \
--with-iconv=${prefix} --with-berkeley-db=${prefix}/include:${prefix}/lib/db46 \
--without-mysql --without-pgsql --without-sqlite2 --with-sqlite3=${prefix}
test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
variant no_bdb description {Build without BerkeleyDB support} {
depends_lib-delete port:db46
configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db46
configure.args-append --without-berkeley-db
variant no_sqlite description {Build without sqlite support} {
depends_lib-delete port:sqlite3
configure.args-delete --with-sqlite3=${prefix}
configure.args-append --without-sqlite2 \
variant openldap description {Build with OpenLDAP support} {
depends_lib-append port:openldap
configure.args-append --with-ldap \
--with-ldap-include=${prefix}/include \
--with-ldap-lib=${prefix}/lib
set extralibs "-L${prefix}/lib/db46"
reinplace "s|^Libs: |Libs: ${extralibs} |" $worksrcpath/apr-util.pc.in