apr: switch to archive.apache.org

This commit is contained in:
Đoàn Trần Công Danh 2023-09-08 22:52:22 +07:00
parent ebf50792df
commit 7ceb3f2257

View file

@ -9,7 +9,7 @@ short_desc="Apache Portable Runtime Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://apr.apache.org/"
distfiles="https://www.apache.org/dist/apr/apr-${version}.tar.bz2"
distfiles="https://archive.apache.org/dist/apr/apr-${version}.tar.bz2"
checksum=e2e148f0b2e99b8e5c6caa09f6d4fb4dd3e83f744aa72a952f94f5a14436f7ea
# Do not redefine struct iovec in include/apr_want.h
@ -24,10 +24,6 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" ac_cv_func_sem_open=sem_open"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
LDFLAGS="-latomic"
fi
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -i Makefile \