mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
subversion-kwallet-auth: fix build for libtool 2.4.7.
This commit is contained in:
parent
5f1d44f27a
commit
320f730bfb
1 changed files with 11 additions and 2 deletions
|
@ -25,6 +25,8 @@ checksum=c9130e8d0b75728a66f0e7038fc77052e671830d785b5616aad53b4810d3cc28
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
./autogen.sh --release
|
||||||
|
|
||||||
# Based on native build values
|
# Based on native build values
|
||||||
cat <<-EOF >config.cache
|
cat <<-EOF >config.cache
|
||||||
ac_cv_python_includes=-I${XBPS_CROSS_BASE}/usr/include/python${py3_ver}
|
ac_cv_python_includes=-I${XBPS_CROSS_BASE}/usr/include/python${py3_ver}
|
||||||
|
@ -54,11 +56,18 @@ pre_configure() {
|
||||||
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Config"*.p? $PERL5LIB
|
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Config"*.p? $PERL5LIB
|
||||||
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Errno.pm" $PERL5LIB
|
cp "$XBPS_CROSS_BASE/usr/lib/perl5/core_perl/Errno.pm" $PERL5LIB
|
||||||
vsed -e "s;archlibexp => '\(.*\)';archlibexp => '${XBPS_CROSS_BASE}\1';" \
|
vsed -e "s;archlibexp => '\(.*\)';archlibexp => '${XBPS_CROSS_BASE}\1';" \
|
||||||
-i $PERL5LIB/Config.pm $PERL5LIB/Config_heavy.pl
|
-i $PERL5LIB/Config.pm
|
||||||
|
vsed -e "s;archlibexp='\(.*\)';archlibexp='${XBPS_CROSS_BASE}\1';" \
|
||||||
|
-i $PERL5LIB/Config_heavy.pl
|
||||||
else
|
else
|
||||||
configure_args+=" --with-apxs"
|
configure_args+=" --with-apxs"
|
||||||
fi
|
fi
|
||||||
NOCONFIGURE=1 autoreconf -fi
|
|
||||||
|
if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
|
||||||
|
# This test will fail when run as the root user,
|
||||||
|
# because flock() will ignore file permissions.
|
||||||
|
vsed -i subversion/tests/libsvn_fs/locks-test.c -e '/SVN_TEST_OPTS_PASS(obtain_write_lock_failure,/,+3d'
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue