apr: modify another not detected flag in apr.h
This commit is contained in:
parent
74e6933d12
commit
b302f559bc
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apr'
|
# Template file for 'apr'
|
||||||
pkgname=apr
|
pkgname=apr
|
||||||
version=1.7.0
|
version=1.7.0
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-installbuilddir=/usr/share/apr-1/build"
|
configure_args="--with-installbuilddir=/usr/share/apr-1/build"
|
||||||
makedepends="expat-devel libuuid-devel"
|
makedepends="expat-devel libuuid-devel"
|
||||||
|
@ -39,6 +39,7 @@ pre_build() {
|
||||||
# Fixup some not detected configure results to match native builds
|
# Fixup some not detected configure results to match native builds
|
||||||
vsed -i include/apr.h \
|
vsed -i include/apr.h \
|
||||||
-e "/#define APR_HAVE_SHMEM_MMAP_ZERO/s;0;1;" \
|
-e "/#define APR_HAVE_SHMEM_MMAP_ZERO/s;0;1;" \
|
||||||
|
-e "/#define APR_HAVE_IOVEC/s;0;1;" \
|
||||||
-e "/#define APR_HAS_POSIXSEM_SERIALIZE/s;0;1;" \
|
-e "/#define APR_HAS_POSIXSEM_SERIALIZE/s;0;1;" \
|
||||||
-e "/#define APR_HAS_PROC_PTHREAD_SERIALIZE/s;0;1;"
|
-e "/#define APR_HAS_PROC_PTHREAD_SERIALIZE/s;0;1;"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue