apr: depends on libxcrypt-devel

Otherwise apr.h will say that crypt.h is not avaliable which will cause
apr-util not to include crypt.h and fail to compile.
This commit is contained in:
oreo639 2024-01-18 21:33:23 -08:00
parent 1cd643b375
commit 216442b78b

View File

@ -24,6 +24,12 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_func_sem_open=sem_open"
fi
# The apr package doesn't use crypt_r, however apr-util does,
# and apr-util uses the apr.h generated by apr's ./configure.
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -i Makefile \