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 version 0.9.x. This is an old version of \
the APRutil library, the latest version is in the \
homepage https://apr.apache.org/
distname apr-util-${version}
checksums sha1 5ffcdd98ebbc7e7d9da5029cf7fac2744901bb50 \
rmd160 2f03d05f9a0a32158f31a820b75eca5dd3fbb60c
depends_lib port:apr0 port:expat port:libiconv port:db46
configure.args --with-apr=${prefix}/bin/apr-config --with-expat=${prefix} \
--with-berkeley-db=${prefix}/include:${prefix}/lib/db46 \
--without-mysql --without-pgsql
test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
delete ${destroot}${prefix}/lib/aprutil.exp
depends_lib-delete port:db46
configure.args-delete --with-berkeley-db=${prefix}/include:${prefix}/lib/db46
configure.args-append --without-berkeley-db
depends_lib-append port:openldap
configure.args-append --with-ldap \
--with-ldap-include=${prefix}/include \
--with-ldap-lib=${prefix}/lib
# reinplace "s|^Libs: |Libs: -L${prefix}/lib/db46 |" $worksrcpath/apr-util.pc.in