maintainers {geeklair.net:dluke @danielluke}
description The apache group's portability library
long_description The Apache Portable Runtime is a library of C data \
structures and routines, forming a system portability \
layer that covers as many operating systems as \
possible, including Unices, Win32, BeOS, and OS/2.
homepage http://apr.apache.org/
checksums md5 12f2a349483ad6f12db49ba01fbfdbfa \
sha1 4f3aa8d8204a2674868b9d485c11349e1848987d \
rmd160 6238854544a4f8a515f64849038be6fd5aa90cf6 \
sha256 131f06d16d7aabd097fa992a33eec2b6af3962f93e6d570a9bd4d85e95993172
# XCode 3.x's gcc-4.0 generates bad code in apr's translation which can be caught by enabling
# debugging in apr, apr-util, and subversion with LANG="en_US.UTF-8"
# Assertion failed: (node->next == NULL), function put_xlate_handle_node, file subversion/libsvn_subr/utf.c, line 378.
if {[vercmp ${xcodeversion} 3.0] >= 0} {
compiler.blacklist-append gcc-4.0
#configure's tests don't work right for sed/gsed if we just set SED here
configure.env ac_cv_prog_AWK=awk ac_cv_path_SED=sed lt_ECHO=/bin/echo lt_cv_path_SED=sed
configure.args --with-installbuilddir=${prefix}/share/apr-1/build \
--enable-nonportable-atomics \
ac_cv_func_setpgrp_void=no
patchfiles apr_h_patch.diff
test.env DYLD_LIBRARY_PATH=${worksrcpath}/.libs
if {[variant_isset universal]} {
reinplace -E {s|-arch [a-z0-9_]+||g} \
${destroot}${prefix}/share/apr-1/build/apr_rules.mk \
${destroot}${prefix}/share/apr-1/build/libtool
livecheck.url http://apache.org/dist/apr/
livecheck.regex {APR (\d+(?:\.\d+)*) is the latest available version}