libtool: fix autoconf mismatch

This commit is contained in:
Đoàn Trần Công Danh 2022-12-18 17:00:48 +07:00 committed by Đoàn Trần Công Danh
parent 3995595e9d
commit 8270c55738
1 changed files with 11 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'libtool'
pkgname=libtool
version=2.4.7
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="texinfo perl automake help2man xz"
depends="tar sed"
hostmakedepends="texinfo perl automake help2man xz gnulib tar"
depends="tar sed grep"
short_desc="Generic library support script"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
@ -17,9 +17,14 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args="lt_cv_shlibpath_overrides_runpath=yes"
fi
pre_configure() {
touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in
./bootstrap --force
post_extract() {
chmod -R +rw .
}
do_configure() {
./bootstrap --force --no-git --skip-po \
--gnulib-srcdir=/usr/share/gnulib/ --copy
./configure ${configure_args} SED=/bin/sed GREP=/bin/grep
}
post_install() {