apr-util: use wrapped apr-1-config
This commit is contained in:
parent
05155e81c6
commit
c4383ebc90
|
@ -4,7 +4,7 @@ version=1.6.1
|
|||
revision=8
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--with-apr=${XBPS_CROSS_BASE}/usr/bin/apr-1-config --with-pgsql --with-ldap
|
||||
--with-pgsql --with-ldap
|
||||
--with-expat=${XBPS_CROSS_BASE}/usr --with-gdbm=${XBPS_CROSS_BASE}/usr
|
||||
--with-sqlite3=${XBPS_CROSS_BASE}/usr --with-mysql=${XBPS_CROSS_BASE}/usr
|
||||
--with-berkeley-db=${XBPS_CROSS_BASE}/usr --with-odbc=${XBPS_CROSS_BASE}/usr
|
||||
|
@ -28,6 +28,11 @@ fi
|
|||
pre_configure() {
|
||||
sed -i configure \
|
||||
-e "s;^\( APR_BUILD_DIR=\).*$;\1${XBPS_CROSS_BASE}/usr/share/apr-1/build;"
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
configure_args+=" --with-apr=${XBPS_WRAPPERDIR}/apr-1-config"
|
||||
else
|
||||
configure_args+=" --with-apr=/usr/bin/apr-1-config"
|
||||
fi
|
||||
}
|
||||
|
||||
post_configure() {
|
||||
|
|
Loading…
Reference in New Issue