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:
parent
1cd643b375
commit
216442b78b
@ -24,6 +24,12 @@ if [ "$CROSS_BUILD" ]; then
|
|||||||
configure_args+=" ac_cv_func_sem_open=sem_open"
|
configure_args+=" ac_cv_func_sem_open=sem_open"
|
||||||
fi
|
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() {
|
pre_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -i Makefile \
|
vsed -i Makefile \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user